basic nix conf for lxc containers

This commit is contained in:
Clara Dautermann 2025-03-13 13:53:46 +01:00
commit 7f813c2488
3 changed files with 117 additions and 0 deletions

26
flake.nix Normal file
View file

@ -0,0 +1,26 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
};
outputs = { nixpkgs, ... }: {
colmena = {
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
};
};
testhost = {
deployment = {
targetHost = "192.168.178.50";
targetPort = 22;
targetUser = "root";
};
networking.hostName = "testhost";
imports = [
./configs/container_config.nix
];
};
};
};
}