Skip to content

Commit

Permalink
nix: stop most services on aol
Browse files Browse the repository at this point in the history
  • Loading branch information
contrun committed Jul 25, 2024
1 parent 3a29f62 commit c726b90
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
2 changes: 1 addition & 1 deletion nix/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3170,7 +3170,7 @@ in
containers = {
"wired-${prefs.hostname}" = {
privateNetwork = true;
autoStart = true;
autoStart = prefs.enableContainerWired;
extraFlags = [
"--network-zone=wired"
];
Expand Down
27 changes: 20 additions & 7 deletions nix/prefs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ let
bootloader = "systemd";
enableGrub = self.bootloader == "grub";
enableWireguard = self.wireguardHostIndex != null;
enableContainerWired = !self.isMinimalSystem;
wireguardIPOffsetForNixosHosts = 51;
wireguardHostIndex =
let
Expand Down Expand Up @@ -1029,15 +1030,27 @@ let
hostId = "85d4bfd4";
systemStateVersion = "22.05";
homeManagerStateVersion = "22.05";
enableTraefik = true;
enablePrometheus = true;
enablePromtail = true;
enableAcme = true;
enableSmosServer = true;
enableGlusterfs = false;
enableTraefik = false;
enablePrometheus = false;
enablePrometheusAgent = false;
enablePrometheusExporters = false;
enableCadvisor = false;
enablePromtail = false;
enableWstunnel = false;
enableAria2 = false;
enableAioproxy = false;
enableEternalTerminal = false;
enableTtyd = false;
enableAcme = false;
enableSmosServer = false;
ociContainers = super.ociContainers // {
enableCalibreWeb = true;
enableKeeweb = true;
enableCalibreWeb = false;
enableKeeweb = false;
};
enableAllOciContainers = false;
enableWireguard = false;
enableContainerWired = false;
videoDrivers = [ "nvidia" "modesetting" ];
enableNvidiaPrimeConfig = true;
enableNvidiaModesetting = true;
Expand Down

0 comments on commit c726b90

Please sign in to comment.