This commit is contained in:
Erwin Boskma 2022-11-01 19:59:28 +01:00
parent 3e12224b39
commit 209400227a
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU
7 changed files with 21 additions and 9 deletions

View file

@ -110,6 +110,7 @@
})
sops.nixosModules.sops
inputs.sunshine.nixosModules.sunshine
inputs.hyprland.nixosModules.default
];
};
in

View file

@ -7,7 +7,6 @@
eboskma = {
users.erwin.enable = true;
docker.enable = true;
drone.enable = true;
nix-common = {
enable = true;

View file

@ -9,8 +9,6 @@ in
nixos-hardware.nixosModules.common-gpu-amd
nixos-hardware.nixosModules.common-pc-ssd
hyprland.nixosModules.default
./hardware-configuration.nix
../../users/erwin
../../users/root

View file

@ -7,7 +7,6 @@
eboskma = {
users.erwin.enable = true;
docker.enable = true;
nix-common = {
enable = true;
remote-builders = true;

View file

@ -12,8 +12,14 @@ in
};
config = mkIf cfg.enable {
eboskma.docker.enable = true;
virtualisation.docker = {
enable = true;
autoPrune = {
enable = true;
dates = "weekly";
};
};
virtualisation.oci-containers.containers = {
drone = {
autoStart = true;
@ -37,5 +43,7 @@ in
];
};
};
users.users.${config.eboskma.var.mainUser}.extraGroups = [ "docker" ];
};
}

View file

@ -10,8 +10,14 @@ in
options.eboskma.nginx-proxy-manager = { enable = mkEnableOption "Nginx Proxy Manager"; };
config = mkIf cfg.enable {
eboskma.docker.enable = true;
virtualisation.docker = {
enable = true;
autoPrune = {
enable = true;
dates = "weekly";
};
};
virtualisation.oci-containers.containers = {
nginx-proxy-manager = {
autoStart = true;
@ -28,5 +34,6 @@ in
];
};
};
users.users.${config.eboskma.var.mainUser}.extraGroups = [ "docker" ];
};
}

View file

@ -3,7 +3,7 @@
openssh.authorizedKeys.keyFiles = [
(pkgs.fetchurl {
url = "https://github.com/eboskma.keys";
sha256 = "z/4lQnFuSkq8O0eunnkXIAH3x3ii9qVr9hxh4/8jBkc=";
sha256 = "uwK4FSLSHiwCJU9U7RBFHIoCmr7uUQLM0JM1u0bi4xo=";
})
];
};