summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-07-19 00:02:34 +0200
committerlassulus <lass@aidsballs.de>2016-07-19 20:18:46 +0200
commit6ba6f28a5361a62ecb495bb10a7bfb820760dbdb (patch)
treed3b985b568b32824804eb5deaf00dd51bbf43138 /lass/2configs
parentef71793d2507bbee8a5c85842fb90a1f5d00ab3b (diff)
l 2: add audit.nix
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/audit.nix9
-rw-r--r--lass/2configs/default.nix11
2 files changed, 15 insertions, 5 deletions
diff --git a/lass/2configs/audit.nix b/lass/2configs/audit.nix
new file mode 100644
index 000000000..644741a5b
--- /dev/null
+++ b/lass/2configs/audit.nix
@@ -0,0 +1,9 @@
+{ ... }:
+
+{
+ security.audit = {
+ rules = [
+ "-a task,never"
+ ];
+ };
+}
diff --git a/lass/2configs/default.nix b/lass/2configs/default.nix
index 81abff3ed..622ef1185 100644
--- a/lass/2configs/default.nix
+++ b/lass/2configs/default.nix
@@ -3,13 +3,14 @@
with config.krebs.lib;
{
imports = [
- ../2configs/vim.nix
- ../2configs/zsh.nix
- ../2configs/mc.nix
- ../2configs/retiolum.nix
- ../2configs/nixpkgs.nix
+ ../2configs/audit.nix
../2configs/binary-cache/client.nix
../2configs/gc.nix
+ ../2configs/mc.nix
+ ../2configs/nixpkgs.nix
+ ../2configs/retiolum.nix
+ ../2configs/vim.nix
+ ../2configs/zsh.nix
./backups.nix
{
users.extraUsers =