system: extract shared configuration from host configs #3

Merged
torjus merged 1 commits from refactor/reduce-host-duplication into master 2026-01-31 08:56:20 +00:00
Owner

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

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>
torjus added 1 commit 2026-01-31 08:55:27 +00:00
system: extract shared configuration from host configs
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m15s
Run nix flake check / flake-check (pull_request) Successful in 2m9s
8c9cc157d1
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>
torjus merged commit 1a6b710527 into master 2026-01-31 08:56:20 +00:00
torjus deleted branch refactor/reduce-host-duplication 2026-01-31 08:56:22 +00:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: torjus/nixos#3