mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Update generate config
This commit is contained in:
parent
39c26942a7
commit
e2676da17e
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ sudo mkdir /tmp/mnt
|
|||
sudo mount /dev/mapper/crypted /tmp/mnt
|
||||
sudo btrfs subvolume snapshot -r /tmp/mnt/root /tmp/mnt/root-blank
|
||||
sudo umount /tmp/mnt
|
||||
sudo nixos-generate-config --root /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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue