Refactors, konawall-py for darwin, sumireko update to Sonoma

This commit is contained in:
Kat Inskip 2023-11-15 11:10:44 -08:00
parent 091ddb5b91
commit bc61d82487
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
151 changed files with 691 additions and 792 deletions

View file

@ -0,0 +1,4 @@
{config, ...}: {
# Allow services to persist for a user after their sessions have ran out
systemd.tmpfiles.rules = set.mapToValues (username: _: "f /var/lib/systemd/linger/${username}") config.users.users;
}

View file

@ -0,0 +1,3 @@
_: {
programs.mosh.enable = true;
}

View file

@ -0,0 +1,5 @@
{tree, ...}: {
imports = with tree.nixos.profiles; [
bootable
];
}

View file

@ -0,0 +1,13 @@
{config, ...}: {
# Enable tailscale
services.tailscale = {
enable = true;
};
# Allow tailscale through firewall
networking.firewall = {
enable = true;
trustedInterfaces = ["tailscale0"];
allowedUDPPorts = [config.services.tailscale.port];
};
}