Use nixosModules and homeManagerModules for config
This commit is contained in:
parent
88a054f3b4
commit
2de0e1a2d6
46 changed files with 151 additions and 190 deletions
|
@ -3,9 +3,9 @@
|
|||
with lib;
|
||||
|
||||
{
|
||||
options.features.desktop.autorandr.enable = mkEnableOption "Enable autorandr";
|
||||
options.nixosModules.autorandr.enable = mkEnableOption "Enable autorandr";
|
||||
|
||||
config = mkIf config.features.desktop.autorandr.enable {
|
||||
config = mkIf config.nixosModules.autorandr.enable {
|
||||
services.autorandr = {
|
||||
enable = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue