Compare commits
No commits in common. "52a076e375baac810c5d75ede931e2cd8bad2860" and "3757fb20b9e8e43f0970ce279b5ebe1c28a40473" have entirely different histories.
52a076e375
...
3757fb20b9
3 changed files with 2 additions and 7 deletions
1
base.nix
1
base.nix
|
@ -38,7 +38,6 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim
|
vim
|
||||||
git
|
git
|
||||||
kitty.terminfo
|
|
||||||
];
|
];
|
||||||
environment.defaultPackages = lib.mkForce [ ];
|
environment.defaultPackages = lib.mkForce [ ];
|
||||||
|
|
||||||
|
|
|
@ -19,10 +19,6 @@
|
||||||
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 https://git.inx.moe/Infinidoge/kiosk.git /etc/nixos
|
git clone ssh://git@inx.moe:245/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 = true;
|
authKeyParameters.ephemeral = false;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
networking.firewall.trustedInterfaces = [ "tailscale0" ];
|
networking.firewall.trustedInterfaces = [ "tailscale0" ];
|
||||||
|
|
Loading…
Reference in a new issue