summaryrefslogtreecommitdiff
path: root/hosts/common/security.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-02-22 02:22:10 -0500
committerseth <[email protected]>2023-02-22 02:22:10 -0500
commit01ccb0cead584733e6c89fcad44c441fe05bc5c7 (patch)
tree54703a80882ed366b237c27f88b858f3106eb0e3 /hosts/common/security.nix
parent9c4a04054f5c72c3c66973b0bea06d10e042947c (diff)
switch back to alejandra
nixpkgs-fmt is weird...
Diffstat (limited to 'hosts/common/security.nix')
-rw-r--r--hosts/common/security.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/hosts/common/security.nix b/hosts/common/security.nix
index d150236..a6c7e57 100644
--- a/hosts/common/security.nix
+++ b/hosts/common/security.nix
@@ -1,4 +1,4 @@
-{ wsl, ... }: {
+{wsl, ...}: {
security = {
apparmor.enable = !wsl;
audit.enable = !wsl;
@@ -13,13 +13,13 @@
execWheelOnly = true;
extraRules = [
{
- users = [ "root" ];
- groups = [ "root" ];
- commands = [ "ALL" ];
+ users = ["root"];
+ groups = ["root"];
+ commands = ["ALL"];
}
{
- users = [ "seth" ];
- commands = [ "ALL" ];
+ users = ["seth"];
+ commands = ["ALL"];
}
];
};