feat(tyr): setup some server settings.

This commit is contained in:
CronyAkatsuki 2025-09-24 18:58:23 +02:00
parent a109e2eba9
commit b533d52727

View file

@ -104,6 +104,8 @@
libva-utils
alsa-utils
neovim
podman-compose
podman-tui
];
services.openssh = {
@ -132,6 +134,35 @@
# Enable my specific settings
crony.secrets.enable = true;
# Optimise storage
nix.optimise = {
automatic = true;
dates = "weekly";
};
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 10d";
};
# setup podman for virtualisation
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
autoPrune = {
enable = true;
dates = "weekly";
flags = [
"--filter=until=24h"
"--filter=label!=important"
];
};
defaultNetwork.settings.dns.enable = true;
};
};
# Enable nixd to see nixpkgs path
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];