mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-10 04:40:05 +00:00
🚧 Initial work on generating homeConfigurations output + syntax changes
This commit is contained in:
parent
f139b88c0b
commit
f89cbcc552
12 changed files with 131 additions and 106 deletions
|
@ -3,13 +3,11 @@
|
|||
config,
|
||||
namespace,
|
||||
...
|
||||
}:
|
||||
let
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
cfg = config.${namespace}.desktop.gnome;
|
||||
in
|
||||
{
|
||||
options.${namespace}.desktop.gnome = { enable = mkEnableOption "Enable the gnome desktop environment ${namespace}"; };
|
||||
in {
|
||||
options.${namespace}.desktop.gnome = {enable = mkEnableOption "Enable the gnome desktop environment ${namespace}";};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.xserver.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue