feat(system): professionalize system configurations
- Consolidate imperative system settings into /etc/nixos/state.json - Implement nomarchy.system options for DNS, Wifi powersave, Timezone, and hardware features - Add declarative browser policies for Chromium/Brave based on theme - Update toggles scripts to mutate system JSON and run sys-update --impure - Remove obsolete imperative browser theme and redundant system modules
This commit is contained in:
@@ -46,5 +46,22 @@ in
|
||||
options brcmfmac feature_disable=0x82000
|
||||
'';
|
||||
})
|
||||
|
||||
# System Features
|
||||
(mkIf config.nomarchy.system.features.fingerprint {
|
||||
services.fprintd.enable = true;
|
||||
})
|
||||
|
||||
(mkIf config.nomarchy.system.features.fido2 {
|
||||
security.pam.u2f = {
|
||||
enable = true;
|
||||
control = "sufficient";
|
||||
cue = true;
|
||||
};
|
||||
})
|
||||
|
||||
(mkIf config.nomarchy.system.features.hybridGPU {
|
||||
services.supergfxd.enable = true;
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user