updated rebuild script

This commit is contained in:
leonv@willem 2024-02-16 14:14:13 +01:00
parent 442616875d
commit 769fe4636e
2 changed files with 2 additions and 8 deletions

View file

@ -66,12 +66,6 @@
services.jellyfin.enable = true; services.jellyfin.enable = true;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.11"; # Did you read the comment? system.stateVersion = "23.11"; # Did you read the comment?
} }

View file

@ -6,7 +6,7 @@
}; };
shellInit = '' shellInit = ''
function rebuild () { function rebuild () {
sudo nixos-rebuild switch --flake /home/leonv/nixos sudo nixos-rebuild switch --flake "/home/leonv/nixos?submodules=1"
sudo cp -r /home/leonv/nixos /etc/ sudo cp -r /home/leonv/nixos /etc/
} }
''; '';
@ -16,4 +16,4 @@
theme = "dpoggi"; theme = "dpoggi";
}; };
}; };
} }