nixos/devmon: add systemd service
This commit is contained in:
parent
ec5c081715
commit
1db44c4ff1
@ -10,5 +10,8 @@ in {
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
security.wrappers.udevil.source = "${lib.getBin pkgs.udevil}/bin/udevil";
|
||||
|
||||
systemd.packages = [ pkgs.udevil ];
|
||||
systemd.services."devmon@".wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user