do not set nix.package

pull/55/head
Alexander 2023-12-27 11:37:59 +04:00
parent 33ba5c41ac
commit 85f85239a3
1 changed files with 1 additions and 4 deletions

View File

@ -74,6 +74,7 @@
DOMAIN = config.selfprivacy.domain; DOMAIN = config.selfprivacy.domain;
}; };
documentation.enable = false; # no {man,info}-pages & docs, etc to save space documentation.enable = false; # no {man,info}-pages & docs, etc to save space
# (or create a systemd service with `ConditionFirstBoot=yes`?)
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"# Completely remove remnants of NIXOS_LUSTRATE." "# Completely remove remnants of NIXOS_LUSTRATE."
"R! /old-root" "R! /old-root"
@ -110,10 +111,6 @@
# allowed-uris = []; # allowed-uris = [];
allow-dirty = false; allow-dirty = false;
}; };
nix.package =
if lib.versionAtLeast pkgs.nix.version "2.15.2"
then pkgs.nix.out
else pkgs.nixUnstable.out;
services.journald.extraConfig = "SystemMaxUse=500M"; services.journald.extraConfig = "SystemMaxUse=500M";
boot.kernel.sysctl = { boot.kernel.sysctl = {
"net.ipv4.ip_forward" = 1; # TODO why is it here by default, for VPN only? "net.ipv4.ip_forward" = 1; # TODO why is it here by default, for VPN only?