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