remove "sc-" aliases

This commit is contained in:
Sean Buckley 2023-09-03 21:54:22 -04:00
parent 1fdd7edc53
commit ebcdbf5d9c

View file

@ -17,20 +17,6 @@
systemd.tmpfiles.rules = [ "e /home/sean/Downloads - - - 9d" ]; systemd.tmpfiles.rules = [ "e /home/sean/Downloads - - - 9d" ];
environment.systemPackages =
[
(pkgs.writeShellScriptBin "sc-check" ''
out="$(mktemp -d)"
nix build -o "$out/out" \
"bck#nixosConfigurations.$(hostname).config.system.build.toplevel"
readlink /run/current-system "$out/out"
rm -r "$out"
'')
]
++ map
(x: (pkgs.writeShellScriptBin "sc-${x}" "nixos-rebuild ${x} --refresh --flake bck"))
[ "boot" "build" "switch" "test" ];
environment.etc."my-settings.sh".text = '' environment.etc."my-settings.sh".text = ''
git config --global user.email "sean.bck@gmail.com" git config --global user.email "sean.bck@gmail.com"
git config --global user.name "Sean Buckley" git config --global user.name "Sean Buckley"