This repository has been archived on 2024-07-08. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config-tn/nixos/profiles
jahanson 435f1b3aa1
All checks were successful
Build / nix-build (native-aarch64, varda) (pull_request) Successful in 1m31s
Build / nix-build (native-x86_64, durincore) (pull_request) Successful in 4m36s
Moving more stuff around
2024-05-30 23:55:10 -05:00
..
global Moving more stuff around 2024-05-30 23:55:10 -05:00
global.nix Moving more stuff around 2024-05-30 23:55:10 -05:00
hw-generic-x86.nix reduce, reuse, refine (#3) 2024-05-19 06:39:08 -05:00
hw-hetzner-cax.nix global vs workstation and hosts vs profile 2024-05-11 08:00:48 -05:00
hw-thinkpad-t470.nix reduce, reuse, refine (#3) 2024-05-19 06:39:08 -05:00
README.md feat: initial global profile refactor 2024-03-24 18:34:14 +11:00
role-dev.nix Move git/vim to global. 2024-05-11 08:03:38 -05:00
role-server.nix feat: adguard tweaks (#108) 2024-04-18 21:18:37 +10:00
role-workstation.nix Moving stuff around 2024-05-30 23:12:28 -05:00

Profiles

Here is the profiles that each host picks from to build up a system.

My headspace for this to have be able to have a set of modular components pull together on a granular system from this nix, from 'Everything will have this set' to per-device config. Where possible ill use the mySystem option list to configure defaults via these profiles, so they can be overridden later. If its not worth writing a custom module for a nixos feature I may just set it directly in the profile.

Global

Default global settings that will apply to every device. Things like locale, timezone, etc that wont change machine to machine

Hardware

Hardware settings so I can apply per set of machines as standard- i.e. all Raspi4's may benefit from a specific set of additions/hardware overlays.

Role

The role the machine have. Machines may have multiple roles i.e. servers will want to have bare minimal, remote build settings, where as main desktop/laptop will have full blow GUIs.