cleanup
This commit is contained in:
parent
e8e11182c2
commit
d021739983
5 changed files with 4 additions and 6 deletions
|
@ -21,7 +21,7 @@ in
|
||||||
pkgs.jdk17
|
pkgs.jdk17
|
||||||
pkgs.visualvm
|
pkgs.visualvm
|
||||||
pkgs.gradle_7
|
pkgs.gradle_7
|
||||||
]; # ++ optionals graphical [ pkgs.jetbrains.idea-community ];
|
] ++ optionals graphical [ pkgs.jetbrains.idea-community ];
|
||||||
|
|
||||||
environment.sessionVariables.JAVA_HOME = pkgs.jdk17.home;
|
environment.sessionVariables.JAVA_HOME = pkgs.jdk17.home;
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@ in
|
||||||
users.users."${user}" = {
|
users.users."${user}" = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
group = user;
|
group = user;
|
||||||
uid = 995;
|
|
||||||
};
|
};
|
||||||
users.groups."${user}" = { };
|
users.groups."${user}" = { };
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@ in
|
||||||
users.groups."${dnscrypt_proxy_user}" = { };
|
users.groups."${dnscrypt_proxy_user}" = { };
|
||||||
|
|
||||||
systemd.services.dnscrypt-proxy2.serviceConfig = {
|
systemd.services.dnscrypt-proxy2.serviceConfig = {
|
||||||
DynamicUser = lib.mkForce true;
|
|
||||||
User = dnscrypt_proxy_user;
|
User = dnscrypt_proxy_user;
|
||||||
Group = dnscrypt_proxy_user;
|
Group = dnscrypt_proxy_user;
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
CapabilityBoundingSet = [
|
CapabilityBoundingSet = [
|
||||||
""
|
""
|
||||||
];
|
];
|
||||||
NoNewPrivileges = true;
|
|
||||||
RestrictNamespaces = [
|
RestrictNamespaces = [
|
||||||
"~pid"
|
"~pid"
|
||||||
"~user"
|
"~user"
|
||||||
|
@ -33,8 +32,9 @@
|
||||||
ProtectKernelLogs = true;
|
ProtectKernelLogs = true;
|
||||||
IPAddressAllow = [ ];
|
IPAddressAllow = [ ];
|
||||||
|
|
||||||
PrivateDevices = false; # acpi obviously needs device access
|
PrivateDevices = false; # acpi needs device access
|
||||||
PrivateNetwork = false; # required for netlink to work properly
|
PrivateNetwork = false; # required for netlink to work properly
|
||||||
|
NoNewPrivileges = false; # acpi hooks might want to execute things at higher/different access
|
||||||
RestrictAddressFamilies = [
|
RestrictAddressFamilies = [
|
||||||
"AF_NETLINK"
|
"AF_NETLINK"
|
||||||
"AF_UNIX"
|
"AF_UNIX"
|
||||||
|
|
|
@ -21,7 +21,7 @@ in
|
||||||
./bluetooth.nix
|
./bluetooth.nix
|
||||||
# ./tty.nix
|
# ./tty.nix
|
||||||
./ask-password.nix
|
./ask-password.nix
|
||||||
./nix-daemon.nix
|
# ./nix-daemon.nix
|
||||||
./nscd.nix
|
./nscd.nix
|
||||||
./rtkit.nix
|
./rtkit.nix
|
||||||
./sshd.nix
|
./sshd.nix
|
||||||
|
|
Loading…
Reference in a new issue