feat: make options and conditionalize config
This commit is contained in:
1 parent
9642bae67d
commit
39da2abe9c
10 files changed
+196
-125
No files matched your search
@@ -1,5 +1,7 @@
|
||||
{
|
||||
imports = [
|
||||
../options.nix
|
||||
|
||||
./fish.nix
|
||||
./firefox.nix
|
||||
./hyprland.nix
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
{
|
||||
programs.firefox.enable = true;
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
config = lib.mkIf config.kekleo.graphical {
|
||||
programs.firefox.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -1,3 +1,10 @@
|
||||
{
|
||||
programs.hyprland.enable = true;
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
config = lib.mkIf config.kekleo.graphical {
|
||||
programs.hyprland.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -1,3 +1,10 @@
|
||||
{
|
||||
services.displayManager.ly.enable = true;
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
config = lib.mkIf config.kekleo.graphical {
|
||||
services.displayManager.ly.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user