feat: add exegol for desktop
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./exegol.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
@@ -21,6 +22,8 @@
|
|||||||
# pulse.enable = true;
|
# pulse.enable = true;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
kekleo.exegol = true;
|
||||||
|
|
||||||
users.users = {
|
users.users = {
|
||||||
leonhard = {
|
leonhard = {
|
||||||
initialPassword = "leonhard";
|
initialPassword = "leonhard";
|
||||||
|
|||||||
@@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user