No description
Find a file
2026-03-10 21:58:35 +01:00
home more vibed refactoring 2026-03-10 21:58:35 +01:00
lib entirely vibed refactor 2026-03-10 21:50:51 +01:00
nixos entirely vibed refactor 2026-03-10 21:50:51 +01:00
util iter 2026-03-06 15:09:04 +01:00
.envrc hook flake update instead 2025-11-17 10:42:27 +01:00
.gitignore more vibed refactoring 2026-03-10 21:58:35 +01:00
.gitlab-ci.yml poking at dev 2025-07-24 10:48:56 +02:00
.pre-commit-config.yaml yay kernel version tester 2025-12-07 13:09:24 +01:00
flake.lock more vibed refactoring 2026-03-10 21:58:35 +01:00
flake.nix more vibed refactoring 2026-03-10 21:58:35 +01:00
README.md more vibed refactoring 2026-03-10 21:58:35 +01:00
shell.nix bump flake 2026-02-22 10:42:34 +01:00
TODO.md stylix and bugfixes 2026-01-08 18:05:08 +01:00

NixOS Configuration Layout

This repository is structured around explicit NixOS and Home Manager layers.

Directory Overview

  • nixos/hosts/<host>/
    • Host-specific configuration.nix and hardware-configuration.nix.
  • nixos/modules/
    • Shared NixOS modules:
      • base.nix
      • profiles/ (workstation.nix, server.nix)
      • wm/ (sway.nix, gnome.nix)
      • theme/ (stylix.nix)
  • home/users/
    • User base modules (alisceon, root).
  • home/profiles/
    • Shared Home Manager profile composition.
  • home/modules/
    • Home Manager feature modules grouped by programs/, services/, and wm/.
  • home/hosts/alisceon/
    • Host-specific Home Manager overrides for alisceon.
  • lib/
    • Shared helper libraries imported by modules.
  • util/
    • Local helper scripts.

Composition Rules

  • flake.nix is the single composition entrypoint for hosts.
  • NixOS host modules should import only host-local hardware config and rely on shared modules from nixos/modules.
  • Home Manager host overrides should stay small and contain only host deltas.
  • Reusable behavior belongs in nixos/modules or home/modules, not in host files.

Local Validation

Run these in your normal environment:

nix flake show
nix eval .#nixosConfigurations.electra.config.system.build.toplevel.drvPath
nix eval .#nixosConfigurations.tower.config.system.build.toplevel.drvPath
nix eval .#nixosConfigurations.tesla-nixos.config.system.build.toplevel.drvPath
nix eval .#nixosConfigurations.nuc.config.system.build.toplevel.drvPath
nix flake check --no-build