auto-flake-update
Yorick van Pelt 7 months ago
parent 181db13393
commit d50c02d708
Signed by: yorick
GPG Key ID: A36E70F9DC014A15
  1. 2
      apply.sh
  2. 3
      home-manager/home.nix

@ -7,7 +7,7 @@ system=$(nix eval --raw .#stdenv.system)
set -x
nixos-rebuild build --flake .#
nix build .#yorick-home --no-link
home-manager switch --flake .#$system
nix run .#update-home
nixos-rebuild switch --flake .# --target-host root@localhost
rm -f result
set +x

@ -92,9 +92,8 @@ in {
shellAliases = {
l = "ls";
ls = "exa";
nr = ''nix repl "<nixpkgs>"'';
nr = ''nix repl "/home/yorick/dotfiles/repl.nix"'';
"n." = "nix repl .";
nsp = "nix-shell -p";
nsd = "nix show-derivation";
nb = "nix build";
nl = "nix log";

Loading…
Cancel
Save