diff options
author | Alex Auvolat <alex@adnab.me> | 2024-05-18 21:02:54 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-05-18 21:02:54 +0200 |
commit | 2493d40db6503c0967cc4bc9152fffc4d2fe73a4 (patch) | |
tree | a4fe8eb99be03bc2b9b6c2d3c3819600fc6f79e8 /nixos/lindy.nix | |
parent | 89f533903dfde2d24ba55236775a41ca46a870ac (diff) | |
download | user-config-2493d40db6503c0967cc4bc9152fffc4d2fe73a4.tar.gz user-config-2493d40db6503c0967cc4bc9152fffc4d2fe73a4.zip |
refactor to disable many things by default
Diffstat (limited to 'nixos/lindy.nix')
-rw-r--r-- | nixos/lindy.nix | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/nixos/lindy.nix b/nixos/lindy.nix index a3bed87..bd1ec69 100644 --- a/nixos/lindy.nix +++ b/nixos/lindy.nix @@ -4,6 +4,7 @@ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ./common.nix + ./common2.nix #./kde.nix #./95theme.nix #./gnome.nix @@ -173,10 +174,9 @@ Komaru UUID=caf8496f-006b-4762-bb20-506d4c7bdb51 /nix/persist/root/komaru_key }; hardware.opengl.enable = true; - # Docker, VirtualBox - virtualisation.docker.enable = true; + # VirtualBox virtualisation.virtualbox.host.enable = true; - users.users.lx.extraGroups = [ "docker" "vboxusers" ]; + users.users.lx.extraGroups = [ "vboxusers" ]; # Use resolver from network services.resolved.enable = false; @@ -208,10 +208,7 @@ Komaru UUID=caf8496f-006b-4762-bb20-506d4c7bdb51 /nix/persist/root/komaru_key pinentry.gnome3 ]; - nix.gc.automatic = false; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; - hardware.cpu.intel.updateMicrocode = - lib.mkDefault config.hardware.enableRedistributableFirmware; + nixpkgs.hostPlatform = "x86_64-linux"; + powerManagement.cpuFreqGovernor = "ondemand"; + hardware.cpu.intel.updateMicrocode = true; } |