Compare commits
2 commits
fe7d6ced06
...
69f266ce9f
Author | SHA1 | Date | |
---|---|---|---|
69f266ce9f | |||
3ae0a6f1b2 |
3 changed files with 23 additions and 11 deletions
18
flake.lock
18
flake.lock
|
@ -255,11 +255,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730016908,
|
"lastModified": 1730837930,
|
||||||
"narHash": "sha256-bFCxJco7d8IgmjfNExNz9knP8wvwbXU4s/d53KOK6U0=",
|
"narHash": "sha256-0kZL4m+bKBJUBQse0HanewWO0g8hDdCvBhudzxgehqc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "e83414058edd339148dc142a8437edb9450574c8",
|
"rev": "2f607e07f3ac7e53541120536708e824acccfaa8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -374,11 +374,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729880355,
|
"lastModified": 1730785428,
|
||||||
"narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=",
|
"narHash": "sha256-Zwl8YgTVJTEum+L+0zVAWvXAGbWAuXHax3KzuejaDyo=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a",
|
"rev": "4aa36568d413aca0ea84a1684d2d46f55dbabad7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -406,11 +406,11 @@
|
||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730134033,
|
"lastModified": 1731172749,
|
||||||
"narHash": "sha256-7wZWS9hpF8WYZLZzpmTsW+U0DyiblQoX7fjVWwiwwLQ=",
|
"narHash": "sha256-kYgdaS6ecAffEHuQgpQYdVecEM9k4pglBrKmSmQ34NQ=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "01936ee33cef1675ba8475d11aba559d52629d86",
|
"rev": "bd3de80588b4805ac698a415b8a38e469b6488bf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -9,13 +9,19 @@ in
|
||||||
enable = mkEnableOption ''
|
enable = mkEnableOption ''
|
||||||
Enable gnome with my custom configurations
|
Enable gnome with my custom configurations
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableGdm = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
description = "Enable gdm with custom gnome";
|
||||||
|
default = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
|
||||||
# Enable the Gnome Desktop Environment.
|
# Enable the Gnome Desktop Environment.
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
services.xserver.displayManager.gdm.enable = cfg.enableGdm;
|
||||||
|
|
||||||
# Enable the GNOME shell.
|
# Enable the GNOME shell.
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
|
|
|
@ -17,6 +17,12 @@ in
|
||||||
enableWallpaperEngine = mkEnableOption ''
|
enableWallpaperEngine = mkEnableOption ''
|
||||||
Enable wallpaper engine plugin for plasma
|
Enable wallpaper engine plugin for plasma
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableSddm = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
description = "Enable sddm with custom plasma";
|
||||||
|
default = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
|
@ -24,7 +30,7 @@ in
|
||||||
|
|
||||||
# Enable the KDE Plasma Desktop Environment.
|
# Enable the KDE Plasma Desktop Environment.
|
||||||
services.displayManager = {
|
services.displayManager = {
|
||||||
sddm.enable = true;
|
sddm.enable = cfg.enableSddm;
|
||||||
defaultSession = "plasma";
|
defaultSession = "plasma";
|
||||||
};
|
};
|
||||||
services.desktopManager.plasma6.enable = true;
|
services.desktopManager.plasma6.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue