This commit is contained in:
Grimmauld 2025-01-29 18:37:35 +01:00
parent e8e11182c2
commit d021739983
No known key found for this signature in database
5 changed files with 4 additions and 6 deletions

View file

@ -21,7 +21,7 @@ in
pkgs.jdk17
pkgs.visualvm
pkgs.gradle_7
]; # ++ optionals graphical [ pkgs.jetbrains.idea-community ];
] ++ optionals graphical [ pkgs.jetbrains.idea-community ];
environment.sessionVariables.JAVA_HOME = pkgs.jdk17.home;

View file

@ -13,7 +13,6 @@ in
users.users."${user}" = {
isSystemUser = true;
group = user;
uid = 995;
};
users.groups."${user}" = { };

View file

@ -30,7 +30,6 @@ in
users.groups."${dnscrypt_proxy_user}" = { };
systemd.services.dnscrypt-proxy2.serviceConfig = {
DynamicUser = lib.mkForce true;
User = dnscrypt_proxy_user;
Group = dnscrypt_proxy_user;
};

View file

@ -5,7 +5,6 @@
CapabilityBoundingSet = [
""
];
NoNewPrivileges = true;
RestrictNamespaces = [
"~pid"
"~user"
@ -33,8 +32,9 @@
ProtectKernelLogs = true;
IPAddressAllow = [ ];
PrivateDevices = false; # acpi obviously needs device access
PrivateDevices = false; # acpi needs device access
PrivateNetwork = false; # required for netlink to work properly
NoNewPrivileges = false; # acpi hooks might want to execute things at higher/different access
RestrictAddressFamilies = [
"AF_NETLINK"
"AF_UNIX"

View file

@ -21,7 +21,7 @@ in
./bluetooth.nix
# ./tty.nix
./ask-password.nix
./nix-daemon.nix
# ./nix-daemon.nix
./nscd.nix
./rtkit.nix
./sshd.nix