grimm-nixos-laptop/hardening/systemd/default.nix

32 lines
502 B
Nix
Raw Normal View History

2025-01-03 15:57:36 +01:00
{ lib, config, ... }:
let
inherit (lib) mkDefault types mkIf;
eq = a: b: a == b;
noPred =
preds: x:
if preds == [ ] then
true
else if (lib.head preds) x then
false
else
noPred (lib.tail preds) x;
in
{
2025-01-05 13:27:12 +01:00
imports = [
./NetworkManager.nix
./wpa_supplicant.nix
2025-01-05 23:03:11 +01:00
./auditd.nix
./acpid.nix
2025-01-10 11:36:19 +01:00
./cups.nix
2025-01-07 11:31:43 +01:00
./bluetooth.nix
2025-01-26 21:43:23 +01:00
# ./tty.nix
2025-01-07 11:31:43 +01:00
./ask-password.nix
2025-01-21 19:27:00 +01:00
# ./nix-daemon.nix
2025-01-10 11:36:19 +01:00
./nscd.nix
./rtkit.nix
2025-01-15 11:01:27 +01:00
./sshd.nix
2025-01-07 11:31:43 +01:00
./global
2025-01-05 13:27:12 +01:00
];
2025-01-03 15:57:36 +01:00
}