mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-26 00:18:28 +02:00
flake cleanup, removed impermanence
This commit is contained in:
parent
2068b655da
commit
0921151c6e
6 changed files with 26 additions and 59 deletions
|
@ -53,6 +53,7 @@
|
|||
zsh-newuser-install () {}
|
||||
|
||||
switch() {
|
||||
sudo true # ask the password so we can leave during the (sometimes quite long) build process
|
||||
OUT_PATH=/tmp/nixos-rebuild-nom-$(date +%s)
|
||||
${pkgs.nix-output-monitor}/bin/nom build /etc/nixos#nixosConfigurations.${config.networking.hostName}.config.system.build.toplevel -o $OUT_PATH
|
||||
sudo ${pkgs.nix}/bin/nix-env -p /nix/var/nix/profiles/system --set $OUT_PATH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue