use flake alias for rebuild scripts

This commit is contained in:
Sean Buckley 2022-04-12 12:49:53 -04:00
parent a8072c9b52
commit 4f60999a6f

View file

@ -29,7 +29,7 @@ in
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"))
(x: (pkgs.writeShellScriptBin "sc-${x}" "nixos-rebuild ${x} --refresh --flake bck"))
[ "boot" "build" "switch" "test" ];
sconfig.user-settings = ''