global/hm-system-defaults: make some profiles global
This commit is contained in:
parent
f0017d381e
commit
b24034aa53
2 changed files with 17 additions and 14 deletions
|
@ -8,7 +8,11 @@
|
|||
};
|
||||
|
||||
sharedModules = [
|
||||
{
|
||||
({ profiles, ... }: {
|
||||
imports = with profiles; [
|
||||
htop
|
||||
];
|
||||
|
||||
home = {
|
||||
stateVersion = config.system.stateVersion;
|
||||
sessionVariables = {
|
||||
|
@ -24,16 +28,20 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
})
|
||||
(lib.mkIf config.services.xserver.enable {
|
||||
xsession.enable = true;
|
||||
})
|
||||
(lib.mkIf config.info.graphical {
|
||||
(lib.mkIf config.info.graphical ({ profiles, ... }: {
|
||||
imports = with profiles; [
|
||||
kitty
|
||||
];
|
||||
|
||||
xdg.systemDirs.data = [
|
||||
"${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}"
|
||||
"${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}"
|
||||
];
|
||||
})
|
||||
}))
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue