7c200468f8
system: replace host detection with capabilities module
...
Run nix flake check / flake-check (push) Successful in 2m12s
Replace scattered osConfig.system.name comparisons with a declarative
host.capabilities module. This improves maintainability and semantic
clarity by expressing what capabilities a host has rather than checking
its name.
Changes:
- Add system/host-capabilities.nix with options for hardware, form factor,
UI behavior, services, and backup configuration
- Configure capabilities in hosts/gunter and hosts/magicman
- Migrate 6 files to use capabilities: packages, waybar, ssh, backup-home
- Remove redundant host name check for pciutils in gunter config
- Make backup-home service conditionally enabled based on capabilities
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-01-31 10:16:19 +01:00
8c9cc157d1
system: extract shared configuration from host configs
...
Run nix flake check / flake-check (push) Successful in 2m15s
Run nix flake check / flake-check (pull_request) Successful in 2m9s
Extract duplicated configuration from gunter and magicman into shared
system modules. This eliminates ~116 lines of duplication and fixes a
malformed gdm.wayland config in magicman.
New shared modules:
- boot.nix: systemd-boot, EFI, common kernel params
- networking.nix: NetworkManager, nftables, firewall base
- hyprland.nix: System-level Hyprland and display manager
- xdg.nix: XDG session variables and portal setup
- nix-config.nix: Nix daemon settings, binary caches, trusted users
- nixpkgs-config.nix: allowUnfree and kernel packages default
Updated modules:
- locale.nix: Added timezone configuration
Benefits:
- Reduces duplication: net reduction of 53 lines
- Magicman gains custom cache substituters for faster builds
- Fixes malformed gdm.wayland config in magicman
- Both hosts use identical base configuration
- Host-specific config clearly stands out
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-01-31 09:49:17 +01:00
c1ccf3485e
Add nb_NO locale. Set LC_TIME to nb_NO
Run nix flake check / flake-check (push) Successful in 2m20s
Periodic flake update / flake-update (push) Successful in 1m28s
2025-03-08 03:34:57 +01:00
4bdadd098d
Add internal CA
Run nix flake check / flake-check (push) Successful in 2m18s
Periodic flake update / flake-update (push) Successful in 1m52s
2024-11-30 19:50:42 +01:00
add7bbc626
Add rev to label
Run nix flake check / flake-check (push) Successful in 1m54s
Periodic flake update / flake-update (push) Successful in 1m40s
2024-10-04 18:08:27 +02:00
a7018d8acb
Add greetd
pre-commit / pre-commit (push) Waiting to run
2024-09-28 13:51:51 +02:00
60ce3ca2b3
Add libvirt
2024-05-31 14:27:33 +02:00
9b6a11d8f7
Add fwupd
2024-05-19 12:43:18 +02:00
24dde4bb55
Add git lfs
2024-05-15 03:44:00 +02:00
b67887a9d7
Move sudo settings to security.nix
pre-commit / pre-commit (push) Successful in 2m9s
2024-02-28 03:45:05 +01:00
5eb076d8d4
Run nixfmt
2024-02-27 22:20:00 +01:00
dcff16294f
Configure sound
2024-02-27 12:06:16 +01:00
78992b130b
Create host-specific folder
2024-02-27 09:48:35 +01:00