This commit is contained in:
Sridhar Ratnakumar 2025-12-24 10:46:27 -05:00
parent 9b24b422ad
commit 12778e5393
11 changed files with 71 additions and 36 deletions

View file

@ -12,6 +12,7 @@ in
imports = [
self.nixosModules.default
./configuration.nix
(self + /modules/nixos/linux/beszel.nix)
];
users.users.${flake.config.me.username}.linger = true;
@ -36,6 +37,11 @@ in
];
nix.settings.sandbox = "relaxed";
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
zramSwap.enable = true;
swapDevices = [{
@ -43,6 +49,11 @@ in
size = 32 * 1024; # 32GB in megabytes
}];
services.glances = {
enable = true;
openFirewall = true;
};
services.openssh.enable = true;
services.tailscale.enable = true;
networking.firewall.allowedTCPPorts = [