Skip to content

About

🧙‍♂️ I'll create nix files here

Resources

Stars

13 stars

Watchers

1 watching

Forks

Latest commit

 

History

249 Commits

Folders and files

Repository files navigation

Follow steps from NixOS manual for disk formatting

Then follow my steps ;)

nixos-generate-config --root /mnt

mkdir -p /mnt/home/{your_user}
cd /mnt/home/{your_user}

git clone .../nixos-config

cp /mnt/etc/nixos/hardware-configuration.nix ./nixos-config/hosts/hardware-configuration.nix

nixos-install --flake ./nixos-config#nixos

Set password for user and reboot

passwd {your_user}
reboot

Give the user edit access

sudo chown -R $USER:users ~/nixos-config

Update system

nix flake update
sudo nixos-rebuild boot --flake ~/nixos-config

Manually garbage collect

sudo nix-collect-garbage -d

Check generations

sudo nixos-rebuild list-generations

About

🧙‍♂️ I'll create nix files here

Resources

Stars

13 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages