A (not so) Good Flake
The pattern I follow easily permits adding more hosts or users, pending a little elbow grease on the flake. Host definitions
live under hosts/
and user configurations live under home/
. Home Manager handles dotfiles and host's user configurations.
The file pattern allows to create additional users under home/<host>
.
The core flake is written to bootstrap my specific laptop, either:
endurance
: X11 + XFCE + i3wayward
: Wayland + Hyprland
endurance
is my Framework laptop running i3. It's directories contain the following configuration: a host definition,
and home-manager configuration. Its configuration is found in the following directories:
Host Path: hosts/<host>/
Home-Manager Path: home/crutonjohn/<host>/
Home-Manager Common: home/crutonjohn/common/
Current look for X11:
Current look for Wayland
## Install X11 + XFCE + i3
sudo nixos-rebuild switch --flake github:crutonjohn/nixos#endurance
## Install Wayland + Hyprland
sudo nixos-rebuild switch --flake github:crutonjohn/nixos#wayward
My configs follow the unstable
channel. A GitHub action updates
flake.lock
nightly.
- Heavily inspired by and borrowed from reckenrode's very well organized nixos-configs
- Some direction from Ruixi-rebirth's flakes
- The NixOS community on Reddit
- The Unofficial Nix/NixOS Discord Server
- migrate from stinky crusty X11 to shiny beautiful Wayland
- create nixpkg for kns PR submitted: NixOS/nixpkgs#193995
- re-create Home Manager config for non-NixOS machines
- create linode nixos image
- nix-ify VPS
- nix-ify Headscale VPN
- nix-ify blog
- nix-ify the k8s cluster
- edit $PATH for pkgs.fish to enable krew plugins (
set -gx PATH $PATH $HOME/.krew/bin
) - create multi-user pattern in
flake.nix