updated rebuild script
This commit is contained in:
parent
442616875d
commit
769fe4636e
2 changed files with 2 additions and 8 deletions
|
@ -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?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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/
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue