Compare commits

..

4 commits

Author SHA1 Message Date
449dca5ddf
postgres: formatting
All checks were successful
/ check (push) Successful in 38s
2023-10-18 02:50:24 -04:00
d9b77672a1
tsuki: add wooting udev rules + pipewire conf 2023-10-18 02:50:11 -04:00
02ee55e600
searxng: allow tailscale connection passthrough 2023-10-18 02:49:03 -04:00
e96bf71c97
postgres: remove unused databases 2023-10-18 02:48:42 -04:00
4 changed files with 25 additions and 11 deletions

View file

@ -32,10 +32,6 @@
name = "forgejo"; name = "forgejo";
ensurePermissions."DATABASE forgejo" = "ALL PRIVILEGES"; ensurePermissions."DATABASE forgejo" = "ALL PRIVILEGES";
} }
{
name = "miniflux";
ensurePermissions."DATABASE miniflux" = "ALL PRIVILEGES";
}
{ {
name = "grafana"; name = "grafana";
ensurePermissions."DATABASE grafana" = "ALL PRIVILEGES"; ensurePermissions."DATABASE grafana" = "ALL PRIVILEGES";
@ -44,10 +40,6 @@
name = "authelia"; name = "authelia";
ensurePermissions."DATABASE authelia" = "ALL PRIVILEGES"; ensurePermissions."DATABASE authelia" = "ALL PRIVILEGES";
} }
{
name = "atticd";
ensurePermissions."DATABASE atticd" = "ALL PRIVILEGES";
}
{ {
name = "vaultwarden"; name = "vaultwarden";
ensurePermissions."DATABASE vaultwarden" = "ALL PRIVILEGES"; ensurePermissions."DATABASE vaultwarden" = "ALL PRIVILEGES";
@ -56,10 +48,8 @@
ensureDatabases = [ ensureDatabases = [
"forgejo" "forgejo"
"hedgedoc" "hedgedoc"
"miniflux"
"grafana" "grafana"
"authelia" "authelia"
"atticd"
"vaultwarden" "vaultwarden"
]; ];
}; };

View file

@ -20,6 +20,7 @@
"192.168.0.0/16" "192.168.0.0/16"
"172.16.0.0/12" "172.16.0.0/12"
"10.0.0.0/8" "10.0.0.0/8"
"100.71.49.65/32"
]; ];
}; };
}; };

View file

@ -41,6 +41,29 @@
layout = "us"; layout = "us";
xkbVariant = ""; xkbVariant = "";
}; };
udev = {
extraRules = ''
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff01", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff01", TAG+="uaccess"
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2402", TAG+="uaccess"
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff02", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff02", TAG+="uaccess"
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2403", TAG+="uaccess"
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", TAG+="uaccess"
'';
};
};
environment.etc = {
"pipewire/pipewire.conf.d/92-low-latency.conf".text = ''
context.properties = {
default.clock.rate = 48000
default.clock.quantum = 1024
default.clock.min-quantum = 16
default.clock.max-quantum = 2048
}
'';
}; };
services.pcscd.enable = true; services.pcscd.enable = true;