WIP: container config for kopia.
This commit is contained in:
9
common/container-node.nix
Normal file
9
common/container-node.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
];
|
||||
|
||||
boot.isContainer = true;
|
||||
custom.tailscale.enable = false;
|
||||
networking.useDHCP = lib.mkForce false;
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
imports = [
|
||||
];
|
||||
|
||||
custom.tailscale.enable = false;
|
||||
proxmoxLXC.manageNetwork = true;
|
||||
}
|
||||
@@ -117,6 +117,7 @@
|
||||
alo-cloud-1 = mkHMNixos "aarch64-linux" [ ./hosts/alo-cloud-1 ];
|
||||
zippy = mkHMNixos "x86_64-linux" [ ./hosts/zippy ];
|
||||
chilly = mkHMNixos "x86_64-linux" [ ./hosts/chilly ];
|
||||
kopia = mkNixos "x86_64-linux" [ ./hosts/kopia ];
|
||||
};
|
||||
|
||||
deploy = {
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
../../common/global
|
||||
../../common/lxc-node.nix
|
||||
../../common/container-node.nix
|
||||
];
|
||||
networking.hostName = "kopia";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
kopia
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user