mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(retiolum): add via krops
This commit is contained in:
7
.versions/retiolum.json
Normal file
7
.versions/retiolum.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"url": "https://github.com/krebs/retiolum",
|
||||
"rev": "15cec63dfbe5b70000372e1cb71f648907de2697",
|
||||
"date": "2020-10-12T23:02:11+02:00",
|
||||
"sha256": "1gif6802ady2w7yyl0wb9wfp0jzpxzvp8d34hz4445yfd4wq2bh6",
|
||||
"fetchSubmodules": false
|
||||
}
|
||||
@@ -20,6 +20,7 @@ let
|
||||
nixos-unstable.git = gitFromJson .versions/nixpkgs-unstable.json;
|
||||
home-manager.git = gitFromJson .versions/home-manager.json;
|
||||
stockholm.git = gitFromJson .versions/stockholm.json;
|
||||
retiolum.git = gitFromJson .versions/retiolum.json;
|
||||
system-secrets.pass = {
|
||||
dir = toString ~/.password-store/systems;
|
||||
inherit name;
|
||||
|
||||
@@ -46,12 +46,12 @@ in {
|
||||
};
|
||||
systemd.services."tinc.${netname}" = {
|
||||
preStart = ''
|
||||
cp -R ${retiolum}/hosts /etc/tinc/retiolum/ || true
|
||||
cp -R ${toString <retiolum/hosts>} /etc/tinc/retiolum/ || true
|
||||
'';
|
||||
};
|
||||
|
||||
networking.extraHosts =
|
||||
builtins.readFile (toString "${retiolum}/etc.hosts");
|
||||
builtins.readFile (toString <retiolum/etc.hosts>);
|
||||
|
||||
environment.systemPackages =
|
||||
[ config.services.tinc.networks.${netname}.package ];
|
||||
|
||||
Reference in New Issue
Block a user