mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-26 21:01:31 +00:00
do not set nix.package
This commit is contained in:
parent
33ba5c41ac
commit
85f85239a3
|
@ -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?
|
||||||
|
|
Loading…
Reference in a new issue