mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add neededForBoot
This commit is contained in:
parent
e2676da17e
commit
f443bae2ed
2 changed files with 4 additions and 6 deletions
|
|
@ -10,11 +10,6 @@ sudo umount /tmp/mnt
|
||||||
sudo nixos-generate-config --no-filesystems --root /mnt
|
sudo nixos-generate-config --no-filesystems --root /mnt
|
||||||
cp /mnt/etc/nixos/hardware-configuration.nix hosts/$(hostname)/hardware-configuration.nix
|
cp /mnt/etc/nixos/hardware-configuration.nix hosts/$(hostname)/hardware-configuration.nix
|
||||||
sudo nixos-install --root /mnt --no-root-passwd --flake .#$(hostname)
|
sudo nixos-install --root /mnt --no-root-passwd --flake .#$(hostname)
|
||||||
sudo nixos-enter
|
|
||||||
passwd
|
|
||||||
passwd muon
|
|
||||||
exit
|
|
||||||
sudo reboot
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# Impermanence
|
# Impermanence
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{ config, lib, pgks, ... }: {
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
||||||
main = {
|
main = {
|
||||||
|
|
@ -66,4 +66,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/persist".neededForBoot = true;
|
||||||
|
fileSystems."/var/log".neededForBoot = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue