mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
move update scripts
This commit is contained in:
parent
94e235add8
commit
f23ec74372
2 changed files with 4 additions and 4 deletions
|
@ -17,10 +17,6 @@
|
||||||
|
|
||||||
security.sudo.extraConfig = "Defaults lecture=never";
|
security.sudo.extraConfig = "Defaults lecture=never";
|
||||||
|
|
||||||
environment.systemPackages = map
|
|
||||||
(x: (pkgs.writeShellScriptBin "sc-${x}" "nixos-rebuild ${x} --refresh --flake github:buckley310/nixos-config"))
|
|
||||||
[ "switch" "build" "boot" ];
|
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [ "e /nix/var/log - - - 30d" ];
|
systemd.tmpfiles.rules = [ "e /nix/var/log - - - 30d" ];
|
||||||
|
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
|
|
@ -18,4 +18,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [ "e /home/sean/Downloads - - - 9d" ];
|
systemd.tmpfiles.rules = [ "e /home/sean/Downloads - - - 9d" ];
|
||||||
|
|
||||||
|
environment.systemPackages = map
|
||||||
|
(x: (pkgs.writeShellScriptBin "sc-${x}" "nixos-rebuild ${x} --refresh --flake github:buckley310/nixos-config"))
|
||||||
|
[ "switch" "build" "boot" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue