mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-05 16:33:12 +00:00
do not set nix.package
This commit is contained in:
parent
33ba5c41ac
commit
85f85239a3
|
@ -74,6 +74,7 @@
|
|||
DOMAIN = config.selfprivacy.domain;
|
||||
};
|
||||
documentation.enable = false; # no {man,info}-pages & docs, etc to save space
|
||||
# (or create a systemd service with `ConditionFirstBoot=yes`?)
|
||||
systemd.tmpfiles.rules = [
|
||||
"# Completely remove remnants of NIXOS_LUSTRATE."
|
||||
"R! /old-root"
|
||||
|
@ -110,10 +111,6 @@
|
|||
# allowed-uris = [];
|
||||
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";
|
||||
boot.kernel.sysctl = {
|
||||
"net.ipv4.ip_forward" = 1; # TODO why is it here by default, for VPN only?
|
||||
|
|
Loading…
Reference in a new issue