Make other desktop Home Manager modules togglable
This commit is contained in:
parent
af9edbfe1a
commit
0baed7e6f6
12 changed files with 124 additions and 77 deletions
|
@ -1,11 +1,26 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme.package = pkgs.arc-theme;
|
||||
theme.name = "Arc-Dark";
|
||||
iconTheme.package = pkgs.arc-icon-theme;
|
||||
iconTheme.name = "Arc";
|
||||
options.features.desktop.gtk.enable = lib.mkEnableOption "Enable gtk";
|
||||
|
||||
config = lib.mkIf config.features.desktop.gtk.enable {
|
||||
gtk = {
|
||||
enable = true;
|
||||
|
||||
theme = {
|
||||
name = "Arc-Dark";
|
||||
package = pkgs.arc-theme;
|
||||
};
|
||||
|
||||
iconTheme = {
|
||||
name = "Arc";
|
||||
package = pkgs.arc-icon-theme;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue