Update config and option names for modules

This commit is contained in:
Oliver Davies 2025-04-30 03:09:17 +01:00
parent fe508bd127
commit bb9b77e2f8
54 changed files with 122 additions and 120 deletions

View file

@ -13,7 +13,7 @@
../../users/opdavies.nix
];
nixosModules = {
features = {
core = {
bluetooth.enable = true;
zram.enable = true;

View file

@ -3,10 +3,10 @@
with lib;
let
cfg = config.nixosModules.redshift;
cfg = config.features.redshift;
in
{
options.nixosModules.redshift.enable = mkEnableOption "Enable redshift";
options.features.redshift.enable = mkEnableOption "Enable redshift";
config = mkIf cfg.enable {
location = {