Compare commits

...

4 commits

Author SHA1 Message Date
6ab024a2c5
hyprland: update systemd integration
All checks were successful
flake check / check (push) Successful in 9m29s
fmt check / check (push) Successful in 1m0s
2023-12-30 20:55:01 -05:00
4ed9d57257
restic: add excludes / timer edits 2023-12-30 20:47:47 -05:00
9cc7a11663
tsuru: add nixgarden runner 2023-12-30 20:47:28 -05:00
beb87f47a6
forgejo: increase login ttl / disable signups 2023-12-30 20:46:58 -05:00
4 changed files with 34 additions and 2 deletions

View file

@ -4,7 +4,7 @@ _: {
];
wayland.windowManager.hyprland = {
enable = true;
systemdIntegration = true;
systemd.enable = true;
xwayland.enable = true;
};
services.wlsunset = {

View file

@ -9,7 +9,7 @@
enable = true;
stateDir = "/var/lib/forgejo";
settings = {
service.DISABLE_REGISTRATION = false;
service.DISABLE_REGISTRATION = true;
DEFAULT.APP_NAME = "forgejo";
log.LEVEL = "Debug";
ui = {
@ -34,6 +34,9 @@
session = {
COOKIE_SECURE = true;
};
security = {
LOGIN_REMEMBER_DAYS = 14;
};
database = {
DB_TYPE = lib.mkForce "postgres";
HOST = "192.168.1.211:5432";

View file

@ -27,6 +27,8 @@
"/home/*/.factorio"
"/home/*/.mplayer"
"/home/*/.steam"
"/home/*/.eclipse"
"/home/*/.bundle"
"/home/*/.local/share/Trash"
"/home/*/.local/share/Steam"
"/home/*/.local/share/.var"
@ -41,6 +43,8 @@
passwordFile = config.sops.secrets.restic-repo-pwd.path;
timerConfig = {
OnCalendar = "daily";
RandomizedDelaySec = "10m";
Persistent = true;
};
};
};

View file

@ -53,5 +53,30 @@
gitMinimal
];
};
instances.nixgarden = {
settings = {
container = {
network = "host";
};
};
enable = true;
name = config.networking.hostName;
token = "ufM3x5MANdcIg9qb7LTJrC7dAi9Kw6DmVXDDX3HL";
url = "https://git.flake.sh";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
hostPackages = with pkgs; [
bash
curl
coreutils
wget
gitMinimal
python3
python311Packages.pip
];
};
};
}