fix: fix wrong option attributes
This commit is contained in:
1 parent
1e725369b8
commit
82a6ecf8b3
7 files changed
+7
-7
No files matched your search
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.nix-leonhard.graphical {
|
config = lib.mkIf config.nix-leonhard.graphical.enable {
|
||||||
programs.firefox.enable = true;
|
programs.firefox.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
|
||||||
config = lib.mkIf config.nix-leonhard.graphical {
|
config = lib.mkIf config.nix-leonhard.graphical.enable {
|
||||||
home.packages = with pkgs; [ nordzy-cursor-theme ];
|
home.packages = with pkgs; [ nordzy-cursor-theme ];
|
||||||
|
|
||||||
programs.waybar.enable = true;
|
programs.waybar.enable = true;
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.nix-leonhard.graphical {
|
config = lib.mkIf config.nix-leonhard.graphical.enable {
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
themeFile = "tokyo_night_night";
|
themeFile = "tokyo_night_night";
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.nix-leonhard.graphical {
|
config = lib.mkIf config.nix-leonhard.graphical.enable {
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = ./tokyonight.rasi;
|
theme = ./tokyonight.rasi;
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
options.nix-leonhard = {
|
options.nix-leonhard = {
|
||||||
graphical = lib.mkEnableOption "GUI features and programs";
|
graphical.enable = lib.mkEnableOption "GUI features and programs";
|
||||||
neovim.enable = lib.mkEnableOption "neovim";
|
neovim.enable = lib.mkEnableOption "neovim";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.nix-leonhard.graphical {
|
config = lib.mkIf config.nix-leonhard.graphical.enable {
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.nix-leonhard.graphical {
|
config = lib.mkIf config.nix-leonhard.graphical.enable {
|
||||||
services.displayManager.ly.enable = true;
|
services.displayManager.ly.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user