summaryrefslogtreecommitdiff
path: root/hosts/common/security.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-02-26 11:45:41 -0500
committerseth <[email protected]>2023-02-26 11:45:41 -0500
commit2922c83bb4ebf7c80599c9479a08dfb3a1d3446b (patch)
treee7deaa1736ecd765f7253627accc7b50f2f9918f /hosts/common/security.nix
parent2c181779426b72e48e10f32ad3169513bd6e9a68 (diff)
enable zram + ondemand governor for glados
Diffstat (limited to 'hosts/common/security.nix')
-rw-r--r--hosts/common/security.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/hosts/common/security.nix b/hosts/common/security.nix
index a6c7e57..260538a 100644
--- a/hosts/common/security.nix
+++ b/hosts/common/security.nix
@@ -5,11 +5,6 @@
auditd.enable = !wsl;
rtkit.enable = true;
sudo = {
- configFile = ''
- Defaults env_reset
- Defaults secure_path = /run/wrappers/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin
- Defaults editor = /run/current-system/sw/bin/vim,!env_editor
- '';
execWheelOnly = true;
extraRules = [
{