feat(MOMO): setup syncthing and vaultwarden

This commit is contained in:
Jacob Bachmann 2025-01-01 21:33:50 +01:00
parent 7968a18271
commit 6ca4dd9e57
No known key found for this signature in database
GPG key ID: 7753026D577922A6
33 changed files with 419 additions and 149 deletions

View file

@ -12,9 +12,18 @@
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{ nixpkgs, agenix, ... }@inputs:
{
nixpkgs,
agenix,
disko,
...
}@inputs:
let
mkSystem = host: {
"${host}" = nixpkgs.lib.nixosSystem rec {
@ -23,6 +32,7 @@
modules = [
(./hosts + "/${host}")
agenix.nixosModules.default
disko.nixosModules.disko
{ environment.systemPackages = [ agenix.packages.${system}.default ]; }
];
};
@ -32,8 +42,9 @@
nixosConfigurations = nixpkgs.lib.mergeAttrsList (
nixpkgs.lib.forEach [
"APPA"
"T430"
"IROH"
"MOMO"
"T430"
] mkSystem
);
};