Integrated box host
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
systemd.timers."kondo" = {
|
||||
wantedBy = ["timers.target"];
|
||||
timerConfig = {
|
||||
#OnBootSec = "5m";
|
||||
#OnUnitActiveSec = "5m";
|
||||
Unit = "kondo.service";
|
||||
OnCalendar = "weekly";
|
||||
Persistent = true;
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services."kondo" = {
|
||||
script = ''
|
||||
kondo --all --ignored-dirs dev/current
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "root";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -5,10 +5,10 @@
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./cronjobs.nix
|
||||
#./syncthing.nix
|
||||
./packages.nix
|
||||
./de/default.nix
|
||||
../../modules/userapps/kondo_timer.nix
|
||||
../../modules/common/nix.nix
|
||||
../../modules/common/networking.nix
|
||||
../../modules/common/shell.nix
|
||||
|
||||
Reference in New Issue
Block a user