Update dependencies
This commit is contained in:
parent
3212896eea
commit
bfc1702f36
4 changed files with 12 additions and 17 deletions
|
@ -6,9 +6,7 @@ nix flake update
|
|||
|
||||
if [ -z "${OVERRIDE:-}" ]
|
||||
then
|
||||
nix build --no-link --profile /nix/var/nix/profiles/per-user/charlotte/`hostname` .#nixosConfigurations.`hostname`.config.system.build.toplevel
|
||||
su -c "nixos-rebuild --flake . switch"
|
||||
su -c "nixos-rebuild --flake . --build-host root@urithiru switch"
|
||||
else
|
||||
nix build --no-link --override-input nixpkgs ../nixpkgs --no-write-lock-file --profile /nix/var/nix/profiles/per-user/charlotte/`hostname` .#nixosConfigurations.`hostname`.config.system.build.toplevel
|
||||
su -c "nixos-rebuild --flake . --override-input nixpkgs ../nixpkgs --no-write-lock-file switch"
|
||||
su -c "nixos-rebuild --flake . --build-host root@urithiru --override-input nixpkgs ../nixpkgs --no-write-lock-file switch"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue