Compare commits
No commits in common. "3757fb20b9e8e43f0970ce279b5ebe1c28a40473" and "d703b19f3a5c4f4a63a942684317418b2ac89b22" have entirely different histories.
3757fb20b9
...
d703b19f3a
2 changed files with 0 additions and 16 deletions
BIN
decryption.key
BIN
decryption.key
Binary file not shown.
16
kiosk.nix
16
kiosk.nix
|
@ -38,22 +38,6 @@ in
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.cage-tty1.requires = [ "network-online.target" ];
|
|
||||||
|
|
||||||
systemd.services.clone-config = {
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
requires = [ "network-online.target" ];
|
|
||||||
path = with pkgs; [ git git-crypt ];
|
|
||||||
script = ''
|
|
||||||
git clone ssh://git@inx.moe:245/Infinidoge/kiosk.git /etc/nixos
|
|
||||||
cd /etc/nixos
|
|
||||||
git-crypt unlock /etc/decryption.key
|
|
||||||
'';
|
|
||||||
serviceConfig.Type = "oneshot";
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.etc."decryption.key".source = ./decryption.key;
|
|
||||||
|
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraUpFlags = [ "--advertise-tags" "tag:kiosk" ];
|
extraUpFlags = [ "--advertise-tags" "tag:kiosk" ];
|
||||||
|
|
Loading…
Reference in a new issue