first dionysos test

This commit is contained in:
Harry 2024-10-12 20:27:46 +02:00
parent 469b0391b7
commit ecce73e727
3 changed files with 63 additions and 0 deletions

View file

@ -77,6 +77,42 @@
"url": "https://git.hypervirtual.world/harry123/nix-secrets.git" "url": "https://git.hypervirtual.world/harry123/nix-secrets.git"
} }
}, },
"nixlib": {
"locked": {
"lastModified": 1728176478,
"narHash": "sha256-px3Q0W//c+mZ4kPMXq4poztsjtXM1Ja1rN+825YMDUQ=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "b61309c3c1b6013d36299bc8285612865b3b9e4c",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixos-generators": {
"inputs": {
"nixlib": "nixlib",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1728522165,
"narHash": "sha256-UQpsJ0Ev6JBGsCYRlS2oOVvb+eWcDD0xTV3RVlqbeVU=",
"owner": "nix-community",
"repo": "nixos-generators",
"rev": "40c8d30c490414910fc63626ad1b67af7db40cd3",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixos-generators",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1723688146, "lastModified": 1723688146,
@ -129,6 +165,7 @@
"inputs": { "inputs": {
"alejandra": "alejandra", "alejandra": "alejandra",
"nix-secrets": "nix-secrets", "nix-secrets": "nix-secrets",
"nixos-generators": "nixos-generators",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"
} }

View file

@ -24,6 +24,7 @@
self, self,
nixpkgs, nixpkgs,
sops-nix, sops-nix,
nixos-generators,
... ...
}@inputs: }@inputs:
let let
@ -87,6 +88,18 @@
]; ];
format = "proxmox"; format = "proxmox";
}; };
dionysos = nixos-generators.nixosGenerate {
system = "x86_64-linux";
specialArgs = {
diskSize = 20 * 1024;
inherit specialArgs;
};
modules = [
./hosts/dionysos/configuration.nix
];
format = "proxmox";
};
}; };
}; };
} }

View file

@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
weechat
tmux
];
services.weechat.enable = true;
programs.tmux = {
enable = true;
clock24 = true;
};
}