[nixos-configs-fkt] Parameterize hardcoded values in roles #19

Open
johno wants to merge 1 commits from bead/nixos-configs-fkt into main
Owner

Summary

Implements bead: nixos-configs-fkt

This PR parameterizes hardcoded values in three system roles to improve configurability:

  • printing role: Add printerName, printerUri, and printerModel options to replace hardcoded Brother printer values
  • nfs-mounts role: Add server, remotePath, and mountPoint options to replace hardcoded NFS server IP (10.0.0.43)
  • virtualisation role: Add dockerUsers option (list type) to replace hardcoded 'johno' docker group membership

All options have sensible defaults matching the original hardcoded values, ensuring backward compatibility while allowing per-host customization.

Changes

  • roles/printing/default.nix: 3 new options for printer configuration
  • roles/nfs-mounts/default.nix: 3 new options for NFS mount configuration
  • roles/virtualisation/default.nix: 1 new option for docker group users

Test plan

  • All modified files pass Nix syntax validation
  • Build a NixOS configuration that uses these roles
  • Verify options can be overridden per-host
## Summary Implements bead: nixos-configs-fkt This PR parameterizes hardcoded values in three system roles to improve configurability: - **printing role**: Add `printerName`, `printerUri`, and `printerModel` options to replace hardcoded Brother printer values - **nfs-mounts role**: Add `server`, `remotePath`, and `mountPoint` options to replace hardcoded NFS server IP (10.0.0.43) - **virtualisation role**: Add `dockerUsers` option (list type) to replace hardcoded 'johno' docker group membership All options have sensible defaults matching the original hardcoded values, ensuring backward compatibility while allowing per-host customization. ## Changes - `roles/printing/default.nix`: 3 new options for printer configuration - `roles/nfs-mounts/default.nix`: 3 new options for NFS mount configuration - `roles/virtualisation/default.nix`: 1 new option for docker group users ## Test plan - [x] All modified files pass Nix syntax validation - [ ] Build a NixOS configuration that uses these roles - [ ] Verify options can be overridden per-host
johno added 1 commit 2026-01-10 13:10:01 -08:00
- printing role: Add configurable printerName, printerUri, and printerModel options
  to replace hardcoded Brother printer values
- nfs-mounts role: Add configurable server, remotePath, and mountPoint options
  to replace hardcoded NFS server IP (10.0.0.43)
- virtualisation role: Add configurable dockerUsers option as list type
  to replace hardcoded 'johno' docker group membership

All options have sensible defaults matching the original hardcoded values,
ensuring backward compatibility while allowing per-host customization.

Implements bead: nixos-configs-fkt
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin bead/nixos-configs-fkt:bead/nixos-configs-fkt
git checkout bead/nixos-configs-fkt
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johno/nixos-configs#19