Compare commits
No commits in common. "7c1151a96f1ca2daf0917c17f66d5901c42f559a" and "35f91509bdc89237b1b031884d2b9bb6d6eb7d70" have entirely different histories.
7c1151a96f
...
35f91509bd
8 changed files with 41 additions and 5 deletions
|
@ -10,7 +10,6 @@
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
displayManager.sddm.enable = true;
|
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
|
@ -19,6 +18,7 @@
|
||||||
};
|
};
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
displayManager.sddm.enable = true;
|
||||||
xkb = {
|
xkb = {
|
||||||
layout = "us";
|
layout = "us";
|
||||||
variant = "";
|
variant = "";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
_: {
|
_: {
|
||||||
virtualisation.oci-containers.containers.glances = {
|
virtualisation.oci-containers.containers.glances = {
|
||||||
image = "nicolargo/glances@sha256:b6908ea9d3dcb99d82114bc5fb6fc3b4ae515025427f96cc9125609c11f46651"; #v3.4.0.5
|
image = "nicolargo/glances";
|
||||||
ports = ["61208-61209:61208-61209"];
|
ports = ["61208-61209:61208-61209"];
|
||||||
volumes = ["/var/run/docker.sock:/var/run/docker.sock"];
|
volumes = ["/var/run/docker.sock:/var/run/docker.sock"];
|
||||||
environment = {
|
environment = {
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
./searxng.nix
|
./searxng.nix
|
||||||
./anki-sync-server.nix
|
./anki-sync-server.nix
|
||||||
./paperless.nix
|
./paperless.nix
|
||||||
|
./miniflux.nix
|
||||||
./hydroxide.nix
|
./hydroxide.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,6 +60,21 @@ _: {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
"News" = [
|
||||||
|
{
|
||||||
|
"Miniflux" = {
|
||||||
|
icon = "miniflux";
|
||||||
|
href = "https://rss.internal.flake.sh";
|
||||||
|
widget = {
|
||||||
|
type = "miniflux";
|
||||||
|
url = "";
|
||||||
|
key = "{{HOMEPAGE_VAR_MINIFLUX_KEY}}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
{
|
{
|
||||||
"Infra" = [
|
"Infra" = [
|
||||||
{
|
{
|
||||||
|
|
19
hosts/yuki/services/miniflux.nix
Normal file
19
hosts/yuki/services/miniflux.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
sops.secrets.miniflux = {};
|
||||||
|
|
||||||
|
services.miniflux = {
|
||||||
|
enable = true;
|
||||||
|
adminCredentialsFile = config.sops.secrets.miniflux.path;
|
||||||
|
config = {
|
||||||
|
LISTEN_ADDR = "0.0.0.0";
|
||||||
|
PORT = 9000;
|
||||||
|
BASE_URL = "https://rss.internal.flake.sh";
|
||||||
|
HTTPS = "true";
|
||||||
|
DATABASE_URL = lib.mkForce "host=100.94.214.100 port=5432 user=miniflux password=miniflux dbname=miniflux sslmode=disable";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,7 +2,7 @@ _: let
|
||||||
storagePath = "/home/notoh/docker/stash";
|
storagePath = "/home/notoh/docker/stash";
|
||||||
in {
|
in {
|
||||||
virtualisation.oci-containers.containers.stash = {
|
virtualisation.oci-containers.containers.stash = {
|
||||||
image = "stashapp/stash@sha256:6b8814b61e4fe77bc910bec858dd45e0970c8af6f439c066317ae68f03af4f91"; # v0.25.0
|
image = "stashapp/stash@sha256:067b4b244c0521421ebcaca49ebd6f4a3e6d837336f22f52ded4e82db1ba8538"; # v0.25.0
|
||||||
ports = ["9999:9999"];
|
ports = ["9999:9999"];
|
||||||
environment = {
|
environment = {
|
||||||
STASH_STASH = "/data/";
|
STASH_STASH = "/data/";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
_: {
|
_: {
|
||||||
virtualisation.oci-containers.containers.wallos = {
|
virtualisation.oci-containers.containers.wallos = {
|
||||||
image = "bellamy/wallos@sha256:5df1e301c436d1c4eb2cb67d4a30100625af21b2d54a111586ee489597d4418b"; #v 1.20.2
|
image = "bellamy/wallos@sha256:d0e81af82901854341da9000412ab480baf28b3461a89c87559400790cba9fa3"; #v 1.16.0
|
||||||
ports = ["8282:80"];
|
ports = ["8282:80"];
|
||||||
volumes = [
|
volumes = [
|
||||||
"/home/notoh/docker/wallos/db:/var/www/html/db"
|
"/home/notoh/docker/wallos/db:/var/www/html/db"
|
||||||
|
|
|
@ -36,8 +36,9 @@
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
services.systemd-udevd.restartIfChanged = false;
|
services.systemd-udevd.restartIfChanged = false;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
DefaultTimeoutStopSec=5s
|
DefaultTimeoutStopSec=10s
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue