Compare commits

..

6 commits

Author SHA1 Message Date
0bc23cc772
Merge branch 'main' of ssh://git.ghoscht.com:2222/ghoscht/nix-config 2024-05-24 14:06:46 +02:00
a479aa7046
Gnome fixes
idk
2024-05-24 14:06:43 +02:00
05498907b4
Ludwig: Allow insecure nix version 2024-05-24 14:06:15 +02:00
b52422d58c
Ludwig wayland fixes
some apps didn't open
2024-05-24 14:05:06 +02:00
42bf9fba59
Set GDDM as Ludwig login manager 2024-05-24 14:04:03 +02:00
a1a5d9a90c
Set systemd-boot build entry limit 2024-05-24 13:56:29 +02:00
6 changed files with 16 additions and 10 deletions

View file

@ -0,0 +1,5 @@
{pkgs, ...}: {
imports = [
../common
];
}

View file

@ -1,4 +1,5 @@
{ {
pkgs,
inputs, inputs,
outputs, outputs,
... ...
@ -7,16 +8,19 @@ in {
imports = [ imports = [
./global ./global
./features/desktop/awesome ./features/desktop/awesome
# ./features/desktop/gnome ./features/desktop/gnome
./features/coding ./features/coding
inputs.nix-colors.homeManagerModules.default inputs.nix-colors.homeManagerModules.default
]; ];
home.packages = with pkgs; [nextcloud-client];
colorScheme = inputs.nix-colors.colorSchemes.catppuccin-mocha; colorScheme = inputs.nix-colors.colorSchemes.catppuccin-mocha;
nixpkgs = { nixpkgs = {
config = { config = {
permittedInsecurePackages = [ permittedInsecurePackages = [
"electron-25.9.0" "electron-25.9.0"
"nix-2.15.3"
]; ];
}; };
}; };

View file

@ -3,10 +3,6 @@
{ {
inputs, inputs,
outputs, outputs,
lib,
config,
pkgs,
heliox-cli,
... ...
}: { }: {
# You can import other NixOS modules here # You can import other NixOS modules here
@ -41,7 +37,6 @@
../common/optional/udisks.nix ../common/optional/udisks.nix
]; ];
nixpkgs = { nixpkgs = {
# You can add overlays here # You can add overlays here
overlays = [ overlays = [
@ -73,6 +68,8 @@
services.udev.packages = [inputs.heliox-cli.packages.x86_64-linux.default]; services.udev.packages = [inputs.heliox-cli.packages.x86_64-linux.default];
environment.systemPackages = [inputs.heliox-cli.packages.x86_64-linux.default]; environment.systemPackages = [inputs.heliox-cli.packages.x86_64-linux.default];
displayManager.sddm.enable = true;
# Force disable Nvidia PRIME, needed by nix-hardware # Force disable Nvidia PRIME, needed by nix-hardware
hardware.nvidia.prime.offload.enable = false; hardware.nvidia.prime.offload.enable = false;

View file

@ -13,8 +13,4 @@
environment.profileRelativeSessionVariables = { environment.profileRelativeSessionVariables = {
QT_PLUGIN_PATH = ["/lib/qt-6/plugins"]; QT_PLUGIN_PATH = ["/lib/qt-6/plugins"];
}; };
services.xserver = {
displayManager.sddm.enable = true;
};
} }

View file

@ -3,6 +3,7 @@
systemd-boot = { systemd-boot = {
enable = true; enable = true;
consoleMode = "max"; consoleMode = "max";
configurationLimit = 42;
}; };
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };

View file

@ -63,9 +63,12 @@
networking.hostName = "ludwig"; networking.hostName = "ludwig";
# environment.sessionVariables.QT_QPA_PLATFORM = "wayland";
services.xserver.displayManager.gdm.enable = true;
programs = { programs = {
adb.enable = true; adb.enable = true;
dconf.enable = true; dconf.enable = true;
xwayland.enable = true;
}; };
hardware = { hardware = {