grimm-nixos-laptop/hardening/systemd/default.nix
2025-01-29 18:37:35 +01:00

32 lines
524 B
Nix

{ 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
{
imports = [
./NetworkManager.nix
./wpa_supplicant.nix
./auditd.nix
./acpid.nix
./cups.nix
./bluetooth.nix
# ./tty.nix
./ask-password.nix
# ./nix-daemon.nix
./nscd.nix
./rtkit.nix
./sshd.nix
./dbus-broker.nix
./global
];
}