dockge + upgrade
This commit is contained in:
1 parent
c6548fb88c
commit
382628f233
5 files changed
+14
-8
No files matched your search
+2
-1
@@ -19,4 +19,5 @@ result.diff
|
||||
result
|
||||
results
|
||||
diffs
|
||||
.locks
|
||||
.locks
|
||||
result.diff
|
||||
+3
-2
@@ -11,7 +11,7 @@ in
|
||||
imports = [ ./fwbook.hardware-configuration.nix ];
|
||||
# Skyg
|
||||
environment.sessionVariables.COSMIC_DATA_CONTROL_ENABLED = 1;
|
||||
skyg = {
|
||||
skyg = {
|
||||
user.enable = true;
|
||||
server.admin.enable = true;
|
||||
core.qemu.enable = true;
|
||||
@@ -34,7 +34,7 @@ in
|
||||
server.arrs = {
|
||||
enable = false;
|
||||
rootDataDir = "/mnt/terra1/Data/apps/arrs";
|
||||
prowlarr.enable = true;
|
||||
prowlarr.enable = false;
|
||||
};
|
||||
};
|
||||
services.displayManager.defaultSession = "plasmax11";
|
||||
@@ -76,6 +76,7 @@ in
|
||||
# skype
|
||||
skypeforlinux
|
||||
# Work
|
||||
postgresql
|
||||
dvc-with-remotes
|
||||
google-cloud-sdk
|
||||
awscli
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ user }:
|
||||
{ ... }: {
|
||||
{ ... }:
|
||||
{
|
||||
imports = [ ./hl-minipc2.hardware-configuration.nix ];
|
||||
skyg.user.enable = true;
|
||||
skyg.nixos.common.ssh-server.enable = true;
|
||||
@@ -19,8 +20,8 @@
|
||||
dockge = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
stacksDir = " /mnt/terra1/Data/apps/arrs/dockge/stacks";
|
||||
dataaDir = " /mnt/terra1/Data/apps/arrs/dockge/data";
|
||||
stacksDir = "/mnt/terra1/Data/apps/arrs/dockge/stacks";
|
||||
dataDir = "/mnt/terra1/Data/apps/arrs/dockge/data";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,14 +36,17 @@ in
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
networking.firewall =
|
||||
lib.mkIf cfg.openFirewall { allowedTCPPorts = [ cfg.port ]; };
|
||||
lib.mkIf cfg.openFirewall {
|
||||
allowedTCPPorts = [ cfg.port ];
|
||||
allowedUDPPorts = [ cfg.port ];
|
||||
};
|
||||
virtualisation.oci-containers = {
|
||||
containers = {
|
||||
dockge = {
|
||||
autoStart = true;
|
||||
image = "louislam/dockge:1";
|
||||
ports = [
|
||||
"${cfg.port}:5001"
|
||||
"${toString cfg.port}:5001"
|
||||
];
|
||||
volumes = [
|
||||
"/var/run/docker.sock:/var/run/docker.sock"
|
||||
|
||||
Whitespace-only changes.
Reference in new issue
Block a user