Compare commits
4 commits
34cc34a567
...
449dca5ddf
Author | SHA1 | Date | |
---|---|---|---|
449dca5ddf | |||
d9b77672a1 | |||
02ee55e600 | |||
e96bf71c97 |
4 changed files with 25 additions and 11 deletions
|
@ -32,10 +32,6 @@
|
|||
name = "forgejo";
|
||||
ensurePermissions."DATABASE forgejo" = "ALL PRIVILEGES";
|
||||
}
|
||||
{
|
||||
name = "miniflux";
|
||||
ensurePermissions."DATABASE miniflux" = "ALL PRIVILEGES";
|
||||
}
|
||||
{
|
||||
name = "grafana";
|
||||
ensurePermissions."DATABASE grafana" = "ALL PRIVILEGES";
|
||||
|
@ -44,10 +40,6 @@
|
|||
name = "authelia";
|
||||
ensurePermissions."DATABASE authelia" = "ALL PRIVILEGES";
|
||||
}
|
||||
{
|
||||
name = "atticd";
|
||||
ensurePermissions."DATABASE atticd" = "ALL PRIVILEGES";
|
||||
}
|
||||
{
|
||||
name = "vaultwarden";
|
||||
ensurePermissions."DATABASE vaultwarden" = "ALL PRIVILEGES";
|
||||
|
@ -56,10 +48,8 @@
|
|||
ensureDatabases = [
|
||||
"forgejo"
|
||||
"hedgedoc"
|
||||
"miniflux"
|
||||
"grafana"
|
||||
"authelia"
|
||||
"atticd"
|
||||
"vaultwarden"
|
||||
];
|
||||
};
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
"192.168.0.0/16"
|
||||
"172.16.0.0/12"
|
||||
"10.0.0.0/8"
|
||||
"100.71.49.65/32"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -41,6 +41,29 @@
|
|||
layout = "us";
|
||||
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;
|
||||
|
|
|
@ -4,4 +4,4 @@ _: {
|
|||
openFirewall = true;
|
||||
port = 9003;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue