Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixuwus NixOS configuration

Personal multi-host NixOS configuration using nixos-unstable and standalone Home Manager.

Included

  • Configured Hyprland desktop with Ly and UWSM
  • Waybar, Rofi, SwayNC, Kitty, Firefox, and desktop theming
  • Docker, Kubernetes, cloud, database, and development tools
  • NetworkManager OpenVPN support and optional KVM/virt-manager
  • Optional gaming tools with Lutris, GameMode, Wine, and Winetricks

System features are separate profiles under modules/nixos/profiles/, so each host can choose what it needs.

Use it

  1. Fork or clone the repository.
  2. Edit users/primary/settings.nix with your username and public SSH key.
  3. Create these files for the machine, using hosts/nixuwus/ as an example:
hosts/<host>/default.nix
hosts/<host>/home.nix
hosts/<host>/boot.nix
hosts/<host>/hardware-configuration.nix

Generate a new hardware configuration for the machine. Do not copy the nixuwus hardware file.

  1. Register the host in hosts/default.nix:
my-host = {
  system = "x86_64-linux";
  nixosModules = [ ./my-host/default.nix ];
  homeModules = [ ./my-host/home.nix ];
};
  1. Choose the profiles in hosts/<host>/default.nix. Leave out Hyprland, gaming, virtualization, or other profiles the host does not need.

Track the new files with Git before evaluating the flake.

  1. Validate and apply:
HOST=my-host
USER_NAME=my-user

nix fmt -- --check .
nix flake check --show-trace
sudo nixos-rebuild switch --flake ".#$HOST"
nix run .#home-manager -- switch --flake ".#${USER_NAME}@${HOST}"

Hyprland configuration

users/primary/home/desktop/hyprland/

Reload an active session with hyprctl reload.

Update the rolling package snapshot with:

nix flake lock --update-input nixpkgs

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages