WIP: container config for kopia.

This commit is contained in:
2024-09-25 10:26:44 +01:00
parent e460d69ebb
commit 92a59e004a
4 changed files with 16 additions and 8 deletions

View File

@@ -0,0 +1,9 @@
{ lib, ... }:
{
imports = [
];
boot.isContainer = true;
custom.tailscale.enable = false;
networking.useDHCP = lib.mkForce false;
}

View File

@@ -1,7 +0,0 @@
{
imports = [
];
custom.tailscale.enable = false;
proxmoxLXC.manageNetwork = true;
}

View File

@@ -117,6 +117,7 @@
alo-cloud-1 = mkHMNixos "aarch64-linux" [ ./hosts/alo-cloud-1 ]; alo-cloud-1 = mkHMNixos "aarch64-linux" [ ./hosts/alo-cloud-1 ];
zippy = mkHMNixos "x86_64-linux" [ ./hosts/zippy ]; zippy = mkHMNixos "x86_64-linux" [ ./hosts/zippy ];
chilly = mkHMNixos "x86_64-linux" [ ./hosts/chilly ]; chilly = mkHMNixos "x86_64-linux" [ ./hosts/chilly ];
kopia = mkNixos "x86_64-linux" [ ./hosts/kopia ];
}; };
deploy = { deploy = {

View File

@@ -1,7 +1,12 @@
{ pkgs, ... }:
{ {
imports = [ imports = [
../../common/global ../../common/global
../../common/lxc-node.nix ../../common/container-node.nix
]; ];
networking.hostName = "kopia"; networking.hostName = "kopia";
environment.systemPackages = with pkgs; [
kopia
];
} }