some refactoring
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.userd.copyq;
|
||||
cfg = config.userModules.userd.copyq;
|
||||
in {
|
||||
options = {
|
||||
modules.userd.copyq.enable = mkEnableOption "Enables copyq";
|
||||
userModules.userd.copyq.enable = mkEnableOption "Enables copyq";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
services.copyq = {
|
||||
|
||||
Reference in New Issue
Block a user