Simplify use of lib
This commit is contained in:
parent
3d4bca0ada
commit
0f90bcfd70
25 changed files with 124 additions and 74 deletions
|
@ -1,9 +1,11 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
options.features.desktop.copyq.enable = lib.mkEnableOption "Enable copyq";
|
||||
with lib;
|
||||
|
||||
config = lib.mkIf config.features.desktop.copyq.enable {
|
||||
{
|
||||
options.features.desktop.copyq.enable = mkEnableOption "Enable copyq";
|
||||
|
||||
config = mkIf config.features.desktop.copyq.enable {
|
||||
services.copyq.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue