mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 13:29:32 +01:00
first dionysos test
This commit is contained in:
parent
469b0391b7
commit
ecce73e727
37
flake.lock
37
flake.lock
|
@ -77,6 +77,42 @@
|
|||
"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": {
|
||||
"locked": {
|
||||
"lastModified": 1723688146,
|
||||
|
@ -129,6 +165,7 @@
|
|||
"inputs": {
|
||||
"alejandra": "alejandra",
|
||||
"nix-secrets": "nix-secrets",
|
||||
"nixos-generators": "nixos-generators",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"sops-nix": "sops-nix"
|
||||
}
|
||||
|
|
13
flake.nix
13
flake.nix
|
@ -24,6 +24,7 @@
|
|||
self,
|
||||
nixpkgs,
|
||||
sops-nix,
|
||||
nixos-generators,
|
||||
...
|
||||
}@inputs:
|
||||
let
|
||||
|
@ -87,6 +88,18 @@
|
|||
];
|
||||
format = "proxmox";
|
||||
};
|
||||
|
||||
dionysos = nixos-generators.nixosGenerate {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
diskSize = 20 * 1024;
|
||||
inherit specialArgs;
|
||||
};
|
||||
modules = [
|
||||
./hosts/dionysos/configuration.nix
|
||||
];
|
||||
format = "proxmox";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
13
hosts/dionysos/configuration.nix
Normal file
13
hosts/dionysos/configuration.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
weechat
|
||||
tmux
|
||||
];
|
||||
|
||||
services.weechat.enable = true;
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
clock24 = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue