mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
move update-cmds
This commit is contained in:
parent
bcb0b76608
commit
a7566e7536
2 changed files with 5 additions and 5 deletions
|
@ -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"
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue