Add neededForBoot

This commit is contained in:
muon 2025-07-31 20:33:54 +00:00
parent e2676da17e
commit f443bae2ed
2 changed files with 4 additions and 6 deletions

View file

@ -10,11 +10,6 @@ sudo umount /tmp/mnt
sudo nixos-generate-config --no-filesystems --root /mnt
cp /mnt/etc/nixos/hardware-configuration.nix hosts/$(hostname)/hardware-configuration.nix
sudo nixos-install --root /mnt --no-root-passwd --flake .#$(hostname)
sudo nixos-enter
passwd
passwd muon
exit
sudo reboot
```
# Impermanence

View file

@ -1,4 +1,4 @@
{
{ config, lib, pgks, ... }: {
disko.devices = {
disk = {
main = {
@ -66,4 +66,7 @@
};
};
};
fileSystems."/persist".neededForBoot = true;
fileSystems."/var/log".neededForBoot = true;
}