Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Oct 15, 2024
1 parent e8c0a45 commit 33b8e3c
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 6 deletions.
2 changes: 2 additions & 0 deletions hosts/abhoth/spec.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
system.stateVersion = "24.05";

users.mutableUsers = false;
services.userborn.enable = true;
system.etc.overlay.enable = true;
system.etc.overlay.mutable = false;

nix.gc = {
Expand Down
2 changes: 2 additions & 0 deletions hosts/azasos/spec.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
system.stateVersion = "24.05";

users.mutableUsers = false;
services.userborn.enable = true;
system.etc.overlay.enable = true;
system.etc.overlay.mutable = false;
environment.etc."resolv.conf".text = ''
nameserver 127.0.0.1
Expand Down
3 changes: 3 additions & 0 deletions hosts/eihort/spec.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
}:

{

system.etc.overlay.enable = true;
services.userborn.enable = true;
virtualisation.podman = {
enable = true;
dockerSocket.enable = true;
Expand Down
6 changes: 4 additions & 2 deletions hosts/hastur/spec.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@

system.stateVersion = "22.11"; # Did you read the comment?
users.mutableUsers = false;
system.etc.overlay.mutable = false;
# services.userborn.enable = true;
# system.etc.overlay.enable = false;
# system.etc.overlay.mutable = false;
# system.forbiddenDependenciesRegexes = [ "perl" ];
environment.etc."resolv.conf".text = ''
nameserver 127.0.0.1
Expand All @@ -24,7 +26,7 @@
};

nix.gc = {
automatic = true;
# automatic = true;
dates = "weekly";
options = "--delete-older-than 10d";
};
Expand Down
4 changes: 3 additions & 1 deletion hosts/kaambl/spec.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

system.stateVersion = "23.05"; # Did you read the comment?
users.mutableUsers = false;
system.etc.overlay.mutable = false;
services.userborn.enable = true;
# system.etc.overlay.enable = true;
# system.etc.overlay.mutable = false;
# system.forbiddenDependenciesRegexes = [ "perl" ];
environment.etc."resolv.conf".text = ''
nameserver 127.0.0.1
Expand Down
2 changes: 2 additions & 0 deletions hosts/nodens/spec.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
system.stateVersion = "22.11";

users.mutableUsers = false;
services.userborn.enable = true;
system.etc.overlay.enable = true;
system.etc.overlay.mutable = false;

nix.gc = {
Expand Down
2 changes: 2 additions & 0 deletions hosts/yidhra/spec.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
system.stateVersion = "24.11";

users.mutableUsers = false;
services.userborn.enable = true;
system.etc.overlay.enable = true;
system.etc.overlay.mutable = false;

nix.gc = {
Expand Down
2 changes: 0 additions & 2 deletions misc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@
{

# systemd.sysusers.enable = true;
system.etc.overlay.enable = true;
system.switch.enableNg = true;
system.switch.enable = lib.mkForce false;
system.copySystemConfiguration = false;
services.userborn.enable = true;

system.disableInstallerTools = true;
programs.less.lessopen = null;
Expand Down
4 changes: 3 additions & 1 deletion modules/hysteria.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ in
"network-online.target"
"nss-lookup.target"
];
unitConfig = {
StartLimitIntervalSec = 0;
};
description = "hysteria daemon";
serviceConfig =
let
Expand All @@ -103,7 +106,6 @@ in
LimitNOFILE = "infinity";
Restart = "always";
RestartSec = 1;
StartLimitIntervalSec = 0;
};
}
) (lib.filterAttrs (_: v: v.enable) cfg.instances);
Expand Down

0 comments on commit 33b8e3c

Please sign in to comment.