My personal NixOS config
tmpfs as root & home + btrfs + full disk encryption + impermanence + hyprland (plasma module included)
please refer to the links below.
# append to enable flakes temporarily
--experimental-features 'nix-command flakes'
sudo nixos-rebuild switch --flake .
sudo nixos-rebuild switch --flake .#nameofconfigurationinflake
nix flake update
nix-shell '<home-manager>' -A install
home-manager switch
home-manger switch --flake .
home-manger switch --flake .#nameofconfigurationinflake
home-manager generations
# rollback HM
/nix/store/...-home-manager-generation/activate
search options -> mynixos
- option + home-manager
- option + nixpkgs/option