Update config and option names for modules
This commit is contained in:
parent
fe508bd127
commit
bb9b77e2f8
54 changed files with 122 additions and 120 deletions
|
@ -13,7 +13,7 @@
|
|||
../../users/opdavies.nix
|
||||
];
|
||||
|
||||
nixosModules = {
|
||||
features = {
|
||||
core = {
|
||||
bluetooth.enable = true;
|
||||
zram.enable = true;
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue