To update nix flake config:
sudo nixos-rebuild switch --flake .#desktop
To update nix inputs (basically a system update/upgrade):
nix flake update
My flakes are heavly based off of Fufexan dotfiles. Of course I'm modified what I copied to fix my system. https://github.com/fufexan/dotfiles
Layout:
Archives - for old flakes I no longer use and do no want within the structure background - contains images that I use for my background home - home manager, see the README.md within for that layout hosts - unique hardware and host configuration system - flakes that do not belong within home-manager
Resources I used to learn NixOS
-
Video discussing what nixos and nix flakes are
-
Flake templates:
-
Examples of working nix flakes
- https://github.com/Hoverbear-Consulting/flake/blob/root/traits/base.nix
- https://github.com/Misterio77/nix-starter-configs/blob/main/standard/flake.nix
- https://github.com/Yumasi/nixos-home/blob/main/zsh.nix
- https://github.com/pecigonzalo/malob-nixpkgs/blob/master/flake.nix
- https://github.com/MatthiasBenaets/nixos-config/blob/master/hosts/configuration.nix
- https://github.com/Jomik/dotfiles/blob/0829f512373bd6c2328a20f946019125039d46da/.config/nixpkgs/configurations/zsh.nix
- https://github.com/gilescope/nix-all
-
flakes + ZSH resources
-
NixOS Wiki
-
NixOS Packages and Package Options search
-
Other resources:
-
Conver Gnone settings to nix flake