This commit is contained in:
nora 2026-05-28 14:57:18 +02:00
parent 131a282338
commit 9dd5ae6698
44 changed files with 353 additions and 79 deletions

View file

@ -2,9 +2,12 @@
let
pretense = import (pkgs.fetchFromGitHub my-projects-versions.pretense.fetchFromGitHub);
quotdd = import (pkgs.fetchFromGitHub my-projects-versions.quotdd.fetchFromGitHub);
networkConfig = networkingConfig."${name}";
in
{
deployment.targetHost = "${name}.infra.noratrieb.dev";
deployment.targetHost =
if networkConfig.publicIPv4 == null
then name else "${name}.infra.noratrieb.dev";
# TODO: ensure that the rust programs have frame pointers
@ -20,6 +23,8 @@ in
nixPath = [ "nixpkgs=${nixpkgs-path}" ];
};
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
vim
wget
@ -27,10 +32,14 @@ in
traceroute
dnsutils
nftables
htop
];
networking.hostName = name;
# Swiss german console tty keyboard layout
console.keyMap = "sg";
time.timeZone = "Europe/Zurich";
users.users.root.openssh.authorizedKeys.keys = [ ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG0n1ikUG9rYqobh7WpAyXrqZqxQoQ2zNJrFPj12gTpP nilsh@PC-Nils'' ];