split/rename options, bundle vendor settings
This commit is contained in:
parent
1b7989336e
commit
3a9a7242fc
18 changed files with 109 additions and 54 deletions
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}: let
|
||||
desktopCfg = config.my.desktop;
|
||||
cfg = desktopCfg.gnome;
|
||||
isEnabled = desktopCfg.enableGnome;
|
||||
|
||||
applyGnomeUserSettings = {
|
||||
home.packages = with pkgs; [
|
||||
|
|
@ -19,7 +19,9 @@
|
|||
};
|
||||
};
|
||||
in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
options.my.desktop.enableGnome = lib.mkEnableOption "gnome desktop";
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
my.desktop.enable = true;
|
||||
|
||||
services = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue