mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 03:10:43 +00:00
Add options for enabling launcher programs
This commit is contained in:
parent
705ef3451a
commit
739d5019d3
5 changed files with 61 additions and 21 deletions
|
@ -3,6 +3,7 @@
|
|||
in
|
||||
{
|
||||
imports = [
|
||||
./programs
|
||||
./git.nix
|
||||
./wms.nix
|
||||
];
|
||||
|
|
21
options/home/programs/default.nix
Normal file
21
options/home/programs/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ lib, ... }: with lib; let
|
||||
inherit (lib) mkEnableOption mkOption types;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./programs
|
||||
./git.nix
|
||||
./wms.nix
|
||||
];
|
||||
|
||||
options.myOptions.home-manager.programs = {
|
||||
launchers = {
|
||||
wofi.enable = mkEnableOption "Wofi launcher";
|
||||
walker.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = "Enable Walker launcher.";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue