This commit is contained in:
2025-07-26 15:51:50 +03:00
parent fd49bb81f2
commit 050a0b8c23
4 changed files with 9 additions and 4 deletions
+3 -2
View File
@@ -9,6 +9,7 @@ let
}:
{
imports = with inputs; [
sops-nix.nixosModules.sops
./hardware/server.nix
self.nixosModules.default
@@ -91,11 +92,11 @@ let
power-profiles-daemon.enable = lib.mkForce false;
earlyoom.enable = true;
preload.enable = true;
auto-cpufreq.enable = true;
auto-cpufreq.enable = false;
throttled.enable = true;
journald = {
extraConfig = ''
SystemMaxUse=128M
SystemMaxUse=512M
'';
};
samba = {
+1 -1
View File
@@ -64,7 +64,7 @@ let
throttled.enable = true;
journald = {
extraConfig = ''
SystemMaxUse=128M
SystemMaxUse=512M
'';
};
samba = {
+4
View File
@@ -6,6 +6,10 @@
{
environment = {
systemPackages = with pkgs; [
# Encrypt
age
sops
# Nix
nix-diff
nix-tree
+1 -1
View File
@@ -13,7 +13,7 @@
networking.firewall = {
allowedTCPPorts = [ 443 ];
allowedUDPPorts = [ 443 ]; #41641
allowedUDPPorts = [ 443 ]; # 41641
#trustedInterfaces = [ "tailscale0" ];
};