feat(MOMO): setup syncthing and vaultwarden
This commit is contained in:
parent
7968a18271
commit
6ca4dd9e57
33 changed files with 419 additions and 149 deletions
15
flake.nix
15
flake.nix
|
|
@ -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
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue