feat: forgejo test

This commit is contained in:
Nick 2025-01-18 21:31:25 -06:00
parent 19131015db
commit 832ae36ca2
2 changed files with 24 additions and 20 deletions

View file

@ -10,6 +10,7 @@ let
flameshot = "(flameshot)";
bitwarden = "(.*Bitwarden.*)";
picture = "(.*Picture-in-Picture.*)";
discord-popout = "(.*Discord Popout.*)";
signal = "(signal)";
vesktop = "(vesktop)";
code = "(code)";
@ -29,6 +30,7 @@ let
"maxsize 640 360, class:^${nomacs}$"
"maxsize 800 450, title:^${bitwarden}$"
"maxsize 720 400, title:^${picture}$"
"maxsize 720 400, title:^${discord-popout}$"
];
floatWindows = builtins.map (x: "float, " + x) [
@ -42,12 +44,14 @@ let
"class:^${flameshot}$"
"class:^${scrcpy}$"
"title:^(${picture})$"
"title:^(${discord-popout})$"
"title:^${bitwarden}$"
];
pinWindows = builtins.map (x: "pin, " + x) [
"title:^${bitwarden}$"
"title:^${picture}$"
"title:^${discord-popout}$"
];
idleInhibit = builtins.map (x: "idleinhibit, " + x) [
@ -92,13 +96,13 @@ let
"class:^${vlc}$"
];
in
maxsizeWindows
++ floatWindows
++ pinWindows
++ idleInhibit
++ workspaceInit1
++ workspaceInit2
++ workspaceInit3
++ workspaceInit4
++ centerWindows
++ opaqueWindows
maxsizeWindows
++ floatWindows
++ pinWindows
++ idleInhibit
++ workspaceInit1
++ workspaceInit2
++ workspaceInit3
++ workspaceInit4
++ centerWindows
++ opaqueWindows

View file

@ -92,16 +92,16 @@ in
);
};
# fileSystems."/var/lib/${service.name}" = {
# device = service.paths.path0;
# fsType = "none";
# options = [
# "bind"
# ];
# depends = [
# server.storage0.mount
# ];
# };
fileSystems."/var/lib/${service.name}" = {
device = service.paths.path0;
fsType = "none";
options = [
"bind"
];
depends = [
server.storage0.mount
];
};
systemd.tmpfiles.rules = [
"Z ${service.paths.path0} 755 ${service.name} ${service.name} -"