Skip to content

crutonjohn/nix

Repository files navigation

NixOS configs

A (not so) Good Flake

Convention Specification

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>.

System Configuration

The core flake is written to bootstrap my specific laptop, either:

  • endurance: X11 + XFCE + i3
  • wayward: Wayland + Hyprland

Example

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:

X11 X11

Current look for Wayland

Wayland Wayland

Example bootrapping

## 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

Actions

My configs follow the unstable channel. A GitHub action updates flake.lock nightly.

Attribution

TODO

  • 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published