format files using alejandra #3
3 changed files with 84 additions and 71 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ lib, pkgs, config, ... }: {
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
services.gitea-actions-runner = {
|
||||
package = pkgs.forgejo-runner;
|
||||
instances.default = {
|
||||
|
|
@ -7,7 +12,7 @@
|
|||
url = "https://git.ahoneybun.net";
|
||||
# Obtaining the path to the runner token file may differ
|
||||
# tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd
|
||||
tokenFile = "/etc/nixos/secrets/forgejo-runner-mono.age";
|
||||
tokenFile = "/etc/nixos/services/forgejo-runner-mono.txt";
|
||||
labels = [
|
||||
"ubuntu-24.04:docker://ubuntu:24.04"
|
||||
"ubuntu-22.04:docker://ubuntu:22.04"
|
||||
|
|
|
|||
|
|
@ -1,11 +1,14 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
# Widgets not supported in version 0.6.2 in nixpkgs#24.11:
|
||||
# split-column
|
||||
# server-stats
|
||||
# custom-api
|
||||
|
||||
{
|
||||
{
|
||||
services.glance = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
|
|
@ -14,67 +17,69 @@
|
|||
host = "0.0.0.0";
|
||||
port = 5678;
|
||||
};
|
||||
theme = {
|
||||
background-color = "270 5 17";
|
||||
primary-color = "21 97 85";
|
||||
negative-color = "358 100 68";
|
||||
contrast-multiplier = 1.2;
|
||||
theme = {
|
||||
background-color = "270 5 17";
|
||||
primary-color = "21 97 85";
|
||||
negative-color = "358 100 68";
|
||||
contrast-multiplier = 1.2;
|
||||
};
|
||||
pages = [{
|
||||
name = "Startpage";
|
||||
width = "slim";
|
||||
hide-desktop-navigation = true;
|
||||
center-vertically = true;
|
||||
columns = [
|
||||
{
|
||||
size = "full";
|
||||
widgets = [
|
||||
{
|
||||
type = "search";
|
||||
search-engine = "duckduckgo";
|
||||
}
|
||||
{
|
||||
type = "monitor";
|
||||
title = "Services";
|
||||
sites = [
|
||||
{
|
||||
title = "Home Assistant";
|
||||
url = "https://home.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Navidrome (Music)";
|
||||
url = "https://music.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Jellyfin (Videos)";
|
||||
url = "https://videos.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Immich (Photos)";
|
||||
url = "https://photos.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Kavita (Books)";
|
||||
url = "https://books.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Audiobookshelf (Audiobooks)";
|
||||
url = "https://audiobookshelf.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Mealie (Meals)";
|
||||
url = "https://meals.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Linkwarden (Links)";
|
||||
url = "https://links.honeycutt.family/";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}];
|
||||
pages = [
|
||||
{
|
||||
name = "Startpage";
|
||||
width = "slim";
|
||||
hide-desktop-navigation = true;
|
||||
center-vertically = true;
|
||||
columns = [
|
||||
{
|
||||
size = "full";
|
||||
widgets = [
|
||||
{
|
||||
type = "search";
|
||||
search-engine = "duckduckgo";
|
||||
}
|
||||
{
|
||||
type = "monitor";
|
||||
title = "Services";
|
||||
sites = [
|
||||
{
|
||||
title = "Home Assistant";
|
||||
url = "https://home.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Navidrome (Music)";
|
||||
url = "https://music.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Jellyfin (Videos)";
|
||||
url = "https://videos.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Immich (Photos)";
|
||||
url = "https://photos.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Kavita (Books)";
|
||||
url = "https://books.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Audiobookshelf (Audiobooks)";
|
||||
url = "https://audiobookshelf.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Mealie (Meals)";
|
||||
url = "https://meals.honeycutt.family/";
|
||||
}
|
||||
{
|
||||
title = "Linkwarden (Links)";
|
||||
url = "https://links.honeycutt.family/";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,16 +1,19 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.linkwarden = {
|
||||
enable = true;
|
||||
host = "0.0.0.0";
|
||||
port = 3005;
|
||||
openFirewall = true;
|
||||
enableRegistration = true;
|
||||
|
||||
|
||||
secretFiles = {
|
||||
NEXTAUTH_SECRET= "/etc/nixos/secrets/linkwarden_secret.age";
|
||||
POSTGRES_PASSWORD= "/etc/nixos/secrets/linkwarden_postgres_passwd.age";
|
||||
NEXTAUTH_SECRET = "/etc/nixos/secrets/linkwarden_secret.age";
|
||||
POSTGRES_PASSWORD = "/etc/nixos/secrets/linkwarden_postgres_passwd.age";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue