all repos — nixfiles @ 1402361310f86dd85190cacb3be3d18bf8dc7705

System and user configuration, managed by nix and home-manager

linde: remove duplicated settings
Alan Pearce alan@alanpearce.eu
Thu, 13 Feb 2025 21:46:05 +0100
commit

1402361310f86dd85190cacb3be3d18bf8dc7705

parent

91d71a8854f52061910081d518be90a6c72a0596

1 files changed, 1 insertions(+), 9 deletions(-)

jump to
M system/linde.nixsystem/linde.nix
@@ -24,7 +24,7 @@ [       # Include the results of the hardware scan.
       ./linde-hardware.nix
 
-      ./settings/configuration/nix.nix
+      ./settings/configuration/nix-linux.nix
       ./settings/services/git-server.nix
     ];
   age.secrets = {
@@ -87,7 +87,6 @@ };   programs.mosh.enable = true;
 
   system.autoUpgrade = {
-    enable = true;
     dates = "02:10";
     randomizedDelaySec = "59 min";
     allowReboot = true;
@@ -105,13 +104,10 @@   nix = {
     settings = {
       max-jobs = 2;
-      auto-optimise-store = true;
       trusted-users = [ "root" "nixremote" ];
     };
     gc = {
-      automatic = true;
       dates = "08:15";
-      options = "--delete-older-than 14d";
     };
     optimise = {
       automatic = true;
@@ -269,10 +265,6 @@   security.sudo.extraConfig = ''
     Defaults:root,%wheel env_keep+=EDITOR
   '';
-
-  nixpkgs = {
-    config.allowUnfree = true;
-  };
 
   programs.fish = {
     enable = true;