feat: add exegol for desktop

This commit is contained in:
2026-03-03 12:42:33 +01:00
parent 9c23dc488e
commit 2811f20219
2 changed files with 22 additions and 0 deletions
+3
View File
@@ -1,6 +1,7 @@
{
imports = [
./hardware-configuration.nix
./exegol.nix
];
# Enable CUPS to print documents.
@@ -21,6 +22,8 @@
# pulse.enable = true;
# };
kekleo.exegol = true;
users.users = {
leonhard = {
initialPassword = "leonhard";
+19
View File
@@ -0,0 +1,19 @@
{
config,
lib,
pkgs,
...
}:
{
options.kekleo.exegol = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Whether to enable exegol.";
};
config = lib.mkIf config.kekleo.exegol {
virtualisation.docker.enable = true;
users.extraGroups.docker.members = [ "leonhard" ];
environment.systemPackages = with pkgs; [ exegol4 ];
};
}