Compare commits
4 commits
3757fb20b9
...
52a076e375
Author | SHA1 | Date | |
---|---|---|---|
52a076e375 | |||
3037384c40 | |||
0d8e84adb9 | |||
2bad638b02 |
3 changed files with 7 additions and 2 deletions
1
base.nix
1
base.nix
|
@ -38,6 +38,7 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim
|
vim
|
||||||
git
|
git
|
||||||
|
kitty.terminfo
|
||||||
];
|
];
|
||||||
environment.defaultPackages = lib.mkForce [ ];
|
environment.defaultPackages = lib.mkForce [ ];
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,10 @@
|
||||||
modules = nixpkgs.lib.flatten modules ++ [
|
modules = nixpkgs.lib.flatten modules ++ [
|
||||||
./base.nix
|
./base.nix
|
||||||
./kiosk.nix
|
./kiosk.nix
|
||||||
|
|
||||||
|
{
|
||||||
|
nix.settings.extra-experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -45,7 +45,7 @@ in
|
||||||
requires = [ "network-online.target" ];
|
requires = [ "network-online.target" ];
|
||||||
path = with pkgs; [ git git-crypt ];
|
path = with pkgs; [ git git-crypt ];
|
||||||
script = ''
|
script = ''
|
||||||
git clone ssh://git@inx.moe:245/Infinidoge/kiosk.git /etc/nixos
|
git clone https://git.inx.moe/Infinidoge/kiosk.git /etc/nixos
|
||||||
cd /etc/nixos
|
cd /etc/nixos
|
||||||
git-crypt unlock /etc/decryption.key
|
git-crypt unlock /etc/decryption.key
|
||||||
'';
|
'';
|
||||||
|
@ -58,7 +58,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
extraUpFlags = [ "--advertise-tags" "tag:kiosk" ];
|
extraUpFlags = [ "--advertise-tags" "tag:kiosk" ];
|
||||||
authKeyFile = ./tailscale-client-secret.key;
|
authKeyFile = ./tailscale-client-secret.key;
|
||||||
authKeyParameters.ephemeral = false;
|
authKeyParameters.ephemeral = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
networking.firewall.trustedInterfaces = [ "tailscale0" ];
|
networking.firewall.trustedInterfaces = [ "tailscale0" ];
|
||||||
|
|
Loading…
Reference in a new issue