1
0
mirror of https://github.com/kmein/niveum synced 2026-03-18 02:51:08 +01:00

chore: organize

use read-made spotifyd module
move sshPort to niveum lib (used also from deploy.nix)
factor out sshd config, use from toum
factor out urlwatch
access scardanelli locally
mpd: configure webradio playlist
scardanelli: use cage for kiosk
toum: use wifi config
toum: use spacetime, dont redeclare
toum: use ssh config
This commit is contained in:
2020-10-28 21:43:33 +01:00
parent 3efb4682f2
commit a0855f8bbb
12 changed files with 141 additions and 180 deletions

View File

@@ -1,4 +1,6 @@
let
inherit (import ./lib/default.nix) sshPort;
gitFromJson = path:
let object = importJson path;
in {
@@ -29,14 +31,14 @@ let
name = "shared";
};
}];
target = "root@${address}:22022";
target = "root@${address}:${toString sshPort}";
};
inherit (pkgs.krops) writeDeploy;
in {
scardanelli = writeDeploy "deploy-scardanelli" (regularSystem {
path = systems/scardanelli;
name = "scardanelli";
address = "scardanelli.r";
address = "192.168.178.21";
});
homeros = writeDeploy "deploy-homeros" (regularSystem {
path = systems/homeros;