add retiolum

This commit is contained in:
Ingolf Wagner 2023-01-31 15:28:24 +01:00
parent 827b686415
commit 0eb36b55c8
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 25 additions and 17 deletions

View file

@ -847,19 +847,15 @@
} }
}, },
"retiolum": { "retiolum": {
"flake": false,
"locked": { "locked": {
"lastModified": 1673744639, "lastModified": 1675123215,
"narHash": "sha256-3mcre4Rp86xhPwpTqBLZbX3YX7F5P7ySW9e7tckZ+YM=", "narHash": "sha256-ZDnwiqDJHF3Bxf+JpzRtqNY9jsGO7+z8P854o9JQCs4=",
"owner": "krebs", "type": "git",
"repo": "retiolum", "url": "file:///home/palo/dev/nixos/retiolum"
"rev": "dbe439afc45434b0e53fa3c88ee37e07dad922d5",
"type": "github"
}, },
"original": { "original": {
"owner": "krebs", "type": "git",
"repo": "retiolum", "url": "file:///home/palo/dev/nixos/retiolum"
"type": "github"
} }
}, },
"revealjs": { "revealjs": {
@ -936,11 +932,11 @@
"secrets": { "secrets": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1675168228, "lastModified": 1675174539,
"narHash": "sha256-n2SBJNQxdWZhnqQwTZS2QDCiPDyBPHHUslGTEpAYCTk=", "narHash": "sha256-RdHMRqzvtVFOQ009z8v3Ir7QyMUr+PyHaMznxHykuE8=",
"ref": "main", "ref": "main",
"rev": "ca6040e71ff71e905d896bdbdf8f9c74930ecc78", "rev": "d3c4b49122aa5b5d3fcbe98823dfbbc26cd048e3",
"revCount": 41, "revCount": 42,
"type": "git", "type": "git",
"url": "ssh://gitea@git.ingolf-wagner.de/palo/nixos-secrets.git" "url": "ssh://gitea@git.ingolf-wagner.de/palo/nixos-secrets.git"
}, },

View file

@ -60,8 +60,8 @@
flake = false; flake = false;
}; };
retiolum = { retiolum = {
url = "github:krebs/retiolum"; #url = "github:Mic92/retiolum";
flake = false; url = "git+file:///home/palo/dev/nixos/retiolum";
}; };
landingpage = { landingpage = {
#url = "git+file:///home/palo/dev/landingpage"; #url = "git+file:///home/palo/dev/landingpage";
@ -144,7 +144,7 @@
]; ];
}; };
specialArgs = { specialArgs = {
inherit private_assets retiolum; inherit private_assets;
}; };
}; };
@ -180,7 +180,10 @@
imports = [ imports = [
grocy-scanner.nixosModule grocy-scanner.nixosModule
nixos-hardware.nixosModules.lenovo-thinkpad-x220 nixos-hardware.nixosModules.lenovo-thinkpad-x220
retiolum.nixosModules.retiolum
]; ];
home-manager.users.mainUser = { home-manager.users.mainUser = {
imports = [ imports = [
doom-emacs-nix.hmModule doom-emacs-nix.hmModule

View file

@ -4,6 +4,9 @@
# #
# create QR Code with: # create QR Code with:
# qrencode -o ./test.png http://ring.ingolf-wagner.de # qrencode -o ./test.png http://ring.ingolf-wagner.de
#
# for secure urls check
# https://www.nginx.com/blog/securing-urls-secure-link-module-nginx-plus/
{ {
sops.secrets.ringPushover = { sops.secrets.ringPushover = {

View file

@ -1,3 +1,4 @@
{ config, ... }:
{ {
tinc.private.enable = true; tinc.private.enable = true;
@ -6,4 +7,9 @@
tinc.secret.enable = true; tinc.secret.enable = true;
tinc.secret.ipv4 = "10.123.42.24"; tinc.secret.ipv4 = "10.123.42.24";
# retiolum
networking.retiolum.port = 720;
sops.secrets.tinc_retiolum_ed25519_key = { };
services.tinc.networks.retiolum.ed25519PrivateKeyFile = config.sops.secrets.tinc_retiolum_ed25519_key.path;
} }