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;
|
nixos-unstable.git = gitFromJson .versions/nixpkgs-unstable.json;
|
||||||
home-manager.git = gitFromJson .versions/home-manager.json;
|
home-manager.git = gitFromJson .versions/home-manager.json;
|
||||||
stockholm.git = gitFromJson .versions/stockholm.json;
|
stockholm.git = gitFromJson .versions/stockholm.json;
|
||||||
|
retiolum.git = gitFromJson .versions/retiolum.json;
|
||||||
system-secrets.pass = {
|
system-secrets.pass = {
|
||||||
dir = toString ~/.password-store/systems;
|
dir = toString ~/.password-store/systems;
|
||||||
inherit name;
|
inherit name;
|
||||||
|
|||||||
@@ -46,12 +46,12 @@ in {
|
|||||||
};
|
};
|
||||||
systemd.services."tinc.${netname}" = {
|
systemd.services."tinc.${netname}" = {
|
||||||
preStart = ''
|
preStart = ''
|
||||||
cp -R ${retiolum}/hosts /etc/tinc/retiolum/ || true
|
cp -R ${toString <retiolum/hosts>} /etc/tinc/retiolum/ || true
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.extraHosts =
|
networking.extraHosts =
|
||||||
builtins.readFile (toString "${retiolum}/etc.hosts");
|
builtins.readFile (toString <retiolum/etc.hosts>);
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
[ config.services.tinc.networks.${netname}.package ];
|
[ config.services.tinc.networks.${netname}.package ];
|
||||||
|
|||||||
@@ -30,6 +30,11 @@ let
|
|||||||
url = "https://cgit.krebsco.de/stockholm";
|
url = "https://cgit.krebsco.de/stockholm";
|
||||||
path = toString .versions/stockholm.json;
|
path = toString .versions/stockholm.json;
|
||||||
};
|
};
|
||||||
|
retiolum = {
|
||||||
|
ref = "refs/heads/master";
|
||||||
|
url = "https://github.com/krebs/retiolum";
|
||||||
|
path = toString .versions/retiolum.json;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
updateCommand = name: dependency: ''
|
updateCommand = name: dependency: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user