break up into reusable modules

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-03-28 16:16:16 +02:00
parent 28f935cfd0
commit 08408c5602
7 changed files with 125 additions and 119 deletions

21
hosts/eldrid/services.nix Normal file
View File

@ -0,0 +1,21 @@
{
services = {
flatpak.enable = true;
fstrim.enable = true;
openssh.enable = true;
power-profiles-daemon.enable = true;
syncthing.openDefaultPorts = true;
dnscrypt-proxy2 = {
enable = true;
settings = {
require_dnssec = true;
server_names = ["mullvad-doh"];
bootstrap_resolvers = ["9.9.9.11:53" "9.9.9.9:53"];
};
};
scx = {
enable = true;
scheduler = "scx_flash";
};
};
}