mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
nix: refactored with mkEnableOption
This commit is contained in:
parent
f0dc70b5d2
commit
32d065ec99
3 changed files with 5 additions and 5 deletions
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
options.programs.cmus.enable = lib.mkOption { default = false; };
|
||||
options.programs.cmus.enable = lib.mkEnableOption "cmus";
|
||||
|
||||
config.home = lib.mkIf config.programs.cmus.enable {
|
||||
packages = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue