diff options
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/custom-hosts.nix | 2 | ||||
-rw-r--r-- | nixos/nvidia.nix | 23 | ||||
-rw-r--r-- | nixos/services/laptop.preset.nix | 2 | ||||
-rw-r--r-- | nixos/services/misc.service.nix | 6 | ||||
-rw-r--r-- | nixos/spec.nix | 6 |
5 files changed, 20 insertions, 19 deletions
diff --git a/nixos/custom-hosts.nix b/nixos/custom-hosts.nix index 495adb4..423229e 100644 --- a/nixos/custom-hosts.nix +++ b/nixos/custom-hosts.nix @@ -8,6 +8,8 @@ let "www" "blog" "files" + "code" + "chat" ]; in { diff --git a/nixos/nvidia.nix b/nixos/nvidia.nix index bb2f679..fa603e5 100644 --- a/nixos/nvidia.nix +++ b/nixos/nvidia.nix @@ -1,19 +1,18 @@ { config -, lib , pkgs , ... }: { - specialisation = { - powersave.configuration = { - hardware.nvidia.prime = { - offload = { - enable = lib.mkForce true; - enableOffloadCmd = lib.mkForce true; - }; - sync.enable = lib.mkForce false; - }; - }; - }; + #specialisation = { + # powersave.configuration = { + # hardware.nvidia.prime = { + # offload = { + # enable = lib.mkForce true; + # enableOffloadCmd = lib.mkForce true; + # }; + # sync.enable = lib.mkForce false; + # }; + # }; + #}; boot.kernelModules = [ "nvidia_uvm" ]; hardware.graphics = { enable = true; diff --git a/nixos/services/laptop.preset.nix b/nixos/services/laptop.preset.nix index 96e097e..152442b 100644 --- a/nixos/services/laptop.preset.nix +++ b/nixos/services/laptop.preset.nix @@ -8,7 +8,7 @@ ./printing.service.nix ./tailscale.service.nix ./power_management.service.nix - ./seatd.service.nix + #./seatd.service.nix ./logind.service.nix #./mpd.service.nix ]; diff --git a/nixos/services/misc.service.nix b/nixos/services/misc.service.nix index 86f490d..f204f44 100644 --- a/nixos/services/misc.service.nix +++ b/nixos/services/misc.service.nix @@ -1,7 +1,7 @@ { ... }: { - specialisation.powersave.configuration = { - services.auto-cpufreq.enable = true; - }; + #specialisation.powersave.configuration = { + # services.auto-cpufreq.enable = true; + #}; services = { upower.enable = true; udisks2.enable = true; diff --git a/nixos/spec.nix b/nixos/spec.nix index 77ac310..504eee2 100644 --- a/nixos/spec.nix +++ b/nixos/spec.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: { +{ pkgs, lib, ... }: { specialisation = { wayland = { configuration = { @@ -16,9 +16,9 @@ services.xserver.displayManager.startx.enable = true; } (import ./dwm { - inherit config; + #inherit config; inherit pkgs; - inherit lib; + #inherit lib; }); }; }; |