move update-cmds

This commit is contained in:
Sean Buckley 2021-06-28 13:20:20 -04:00
parent bcb0b76608
commit a7566e7536
2 changed files with 5 additions and 5 deletions

View file

@ -13,6 +13,10 @@
nixpkgs.config.allowUnfree = true;
environment.variables.NIXPKGS_ALLOW_UNFREE = "1";
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"
"e /home/sean/Downloads - - - 9d"

View file

@ -8,10 +8,6 @@ let
"-git-assume-unchanged-size 0"
];
update-cmds = map
(x: (pkgs.writeShellScriptBin "sc-${x}" "nixos-rebuild ${x} --refresh --flake github:buckley310/nixos-config"))
[ "switch" "build" "boot" ];
system-rev = toString config.system.nixos.revision;
in
@ -86,7 +82,7 @@ in
echo
'')
] ++ update-cmds;
];
environment.etc."pip.conf".text = ''
[install]