refactor: den-native config, tunnel quirk, per-module inputs
This commit is contained in:
1 parent
0431bce152
commit
bfbac8b961
100 files changed
+668
-1417
No files matched your search
@@ -1,5 +1,5 @@
|
||||
{
|
||||
den.aspects.janitor-backend = {
|
||||
den.aspects.system.janitor = {
|
||||
nixos = { pkgs, lib, config, ... }:
|
||||
let
|
||||
cfg = config.services.janitor;
|
||||
@@ -157,7 +157,6 @@
|
||||
|
||||
user = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "bug";
|
||||
description = "User account the janitor service runs as.";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.janitor = {
|
||||
includes = with den.aspects; [ janitor-backend ];
|
||||
|
||||
nixos = {
|
||||
{
|
||||
den.aspects.system.janitor = {
|
||||
nixos = { host, ... }: {
|
||||
services.janitor = {
|
||||
enable = true;
|
||||
user = host.owner;
|
||||
interval = "1min";
|
||||
gracePeriod = 60;
|
||||
watchedDirs = [ "~/Downloads" ];
|
||||
|
||||
Reference in new issue
Block a user