Compare commits

...

4 commits

9 changed files with 138 additions and 53 deletions

View file

@ -88,11 +88,11 @@
]
},
"locked": {
"lastModified": 1720450253,
"narHash": "sha256-1in42htN3g3MnE3/AO5Qgs6pMWUzmtPQ7s675brO8uw=",
"lastModified": 1720524665,
"narHash": "sha256-ni/87oHPZm6Gv0ECYxr1f6uxB0UKBWJ6HvS7lwLU6oY=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "2b6bd3c87d3a66fb0b8f2f06c985995e04b4fb96",
"rev": "8d6a17d0cdf411c55f12602624df6368ad86fac1",
"type": "github"
},
"original": {
@ -206,11 +206,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1720453602,
"narHash": "sha256-7+PjJZn/jpqNkVKJ3AGVT9G601rVj/R8KkT+WWjhwyk=",
"lastModified": 1720896272,
"narHash": "sha256-zo1lDMsxjEyko/P+KfCLNYZrCAWQOrX90/J31nqzpy4=",
"ref": "refs/heads/main",
"rev": "b03f41efec14273cf25c42d4cef326acc36cb319",
"revCount": 4913,
"rev": "bc6b0880dda2607a80f000c134f573c970452a0f",
"revCount": 4925,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland"
@ -228,11 +228,11 @@
]
},
"locked": {
"lastModified": 1718476555,
"narHash": "sha256-fuWpgh8KasByIJWE+xVd37Al0LV5YAn6s871T50qVY0=",
"lastModified": 1720709712,
"narHash": "sha256-78j/cY+AXoMIqqiNc1vWx237EPfpERAcYsb57ABUbwQ=",
"owner": "hyprwm",
"repo": "contrib",
"rev": "29a8374f4b9206d5c4af84aceb7fb5dff441ea60",
"rev": "65d42dcbfde2229a75ccdb195c318dfe241f9ade",
"type": "github"
},
"original": {
@ -309,11 +309,11 @@
]
},
"locked": {
"lastModified": 1720203444,
"narHash": "sha256-lq2dPPPcwMHTLsFrQ2pRp4c2LwDZWoqzSyjuPdeJCP4=",
"lastModified": 1720545076,
"narHash": "sha256-Pxacc2uoxI00koXp5+CyNqHOTQlqNlK0rlRHDBHX4+g=",
"owner": "hyprwm",
"repo": "hyprutils",
"rev": "a8c3a135701a7b64db0a88ec353a392f402d2a87",
"rev": "6174a2a25f4e216c0f1d0c4278adc23c476b1d09",
"type": "github"
},
"original": {
@ -357,11 +357,11 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1720483510,
"narHash": "sha256-IG/g4l/W0R2M/jxEyu/Sl3BmR/OK5D1jiahpc0wlpvE=",
"lastModified": 1720861673,
"narHash": "sha256-gh34LtCLvXCd/Xyk33mgQU3QqNyJ7ZwJj59c4Qdad78=",
"owner": "nix-community",
"repo": "neovim-nightly-overlay",
"rev": "b6b51915180e6d2eac488d6f882e4ba36bad380d",
"rev": "34b8101a10dfb4cb38832a17ef33281d59e2b2b3",
"type": "github"
},
"original": {
@ -373,11 +373,11 @@
"neovim-src": {
"flake": false,
"locked": {
"lastModified": 1720478486,
"narHash": "sha256-66u+yzjk6NrFr2jj2svD3jwNX8P2B8/DNH9A51V4kh8=",
"lastModified": 1720816717,
"narHash": "sha256-C8bdG2wrI29afHI1705W37M7CPudz5117YafiBlW0Y4=",
"owner": "neovim",
"repo": "neovim",
"rev": "fb6c059dc55c8d594102937be4dd70f5ff51614a",
"rev": "10256bb760fcab0dc25f7eb5b0b45966cb771939",
"type": "github"
},
"original": {
@ -393,11 +393,11 @@
]
},
"locked": {
"lastModified": 1720334033,
"narHash": "sha256-X9pEvvHTVWJphhbUYqXvlLedOndNqGB7rvhSvL2CIgU=",
"lastModified": 1720926593,
"narHash": "sha256-fW6e27L6qY6s+TxInwrS2EXZZfhMAlaNqT0sWS49qMA=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "685e40e1348007d2cf76747a201bab43d86b38cb",
"rev": "5fe5b0cdf1268112dc96319388819b46dc051ef4",
"type": "github"
},
"original": {
@ -408,11 +408,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1720031269,
"narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=",
"lastModified": 1720542800,
"narHash": "sha256-ZgnNHuKV6h2+fQ5LuqnUaqZey1Lqqt5dTUAiAnqH0QQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9f4128e00b0ae8ec65918efeba59db998750ead6",
"rev": "feb2849fdeb70028c70d73b848214b00d324a497",
"type": "github"
},
"original": {
@ -424,11 +424,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1720282526,
"narHash": "sha256-dudRkHPRivMNOhd04YI+v4sWvn2SnN5ODSPIu5IVbco=",
"lastModified": 1720915306,
"narHash": "sha256-6vuViC56+KSr+945bCV8akHK+7J5k6n/epYg/W3I5eQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "550ac3e955c30fe96dd8b2223e37e0f5d225c927",
"rev": "74348da2f3a312ee25cea09b98cdba4cb9fa5d5d",
"type": "github"
},
"original": {
@ -440,11 +440,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1720418205,
"narHash": "sha256-cPJoFPXU44GlhWg4pUk9oUPqurPlCFZ11ZQPk21GTPU=",
"lastModified": 1720768451,
"narHash": "sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "655a58a72a6601292512670343087c2d75d859c1",
"rev": "7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9",
"type": "github"
},
"original": {
@ -455,11 +455,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1720368505,
"narHash": "sha256-5r0pInVo5d6Enti0YwUSQK4TebITypB42bWy5su3MrQ=",
"lastModified": 1720750130,
"narHash": "sha256-y2wc7CdK0vVSIbx7MdVoZzuMcUoLvZXm+pQf2RIr1OU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ab82a9612aa45284d4adf69ee81871a389669a9e",
"rev": "6794d064edc69918bb0fc0e0eda33ece324be17a",
"type": "github"
},
"original": {
@ -471,11 +471,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1720386169,
"narHash": "sha256-NGKVY4PjzwAa4upkGtAMz1npHGoRzWotlSnVlqI40mo=",
"lastModified": 1720954236,
"narHash": "sha256-1mEKHp4m9brvfQ0rjCca8P1WHpymK3TOr3v34ydv9bs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "194846768975b7ad2c4988bdb82572c00222c0d7",
"rev": "53e81e790209e41f0c1efa9ff26ff2fd7ab35e27",
"type": "github"
},
"original": {
@ -486,11 +486,11 @@
},
"nur": {
"locked": {
"lastModified": 1720568009,
"narHash": "sha256-EC7HGMr4pIorA70QeHUMdqDQNuzlhzARuewZdByayyM=",
"lastModified": 1721009508,
"narHash": "sha256-5FPwaPl/i7BO4Qm7mdqDUEly5e6CM+FUFeafyd6HaC0=",
"owner": "nix-community",
"repo": "NUR",
"rev": "642bcd7e694adb60641c8125baea542b3067ca5c",
"rev": "669d9c8a383cd54bf2b47e2a3bf67b0910bb7d6d",
"type": "github"
},
"original": {
@ -520,11 +520,11 @@
]
},
"locked": {
"lastModified": 1720491570,
"narHash": "sha256-PHS2BcQ9kxBpu9GKlDg3uAlrX/ahQOoAiVmwGl6BjD4=",
"lastModified": 1721010111,
"narHash": "sha256-GuPw2xhJZ+eszIJFu7z7AtqUmirSWPHpxuCpG6dSOic=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "b970af40fdc4bd80fd764796c5f97c15e2b564eb",
"rev": "3ef018b6d0f62eb59580a8e9fe141e37bf1d972d",
"type": "github"
},
"original": {
@ -541,11 +541,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1720479166,
"narHash": "sha256-jqvhLDXzTLTHq9ZviFOpcTmXXmnbLfz7mWhgMNipMN4=",
"lastModified": 1720926522,
"narHash": "sha256-eTpnrT6yu1vp8C0B5fxHXhgKxHoYMoYTEikQx///jxY=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "67035a355b1d52d2d238501f8cc1a18706979760",
"rev": "0703ba03fd9c1665f8ab68cc3487302475164617",
"type": "github"
},
"original": {

View file

@ -3,8 +3,10 @@ let
sopsFile = ../../secrets/bareksa.yaml;
in
{
sops.secrets."bareksa/openvpn" = {
inherit sopsFile;
sops.secrets = {
"bareksa/openvpn" = {
inherit sopsFile;
};
};
programs.zsh.shellAliases = {

View file

@ -12,6 +12,7 @@ in
redmage.enable = lib.mkEnableOption "redmage podman";
redmage-demo.enable = lib.mkEnableOption "redmage-demo podman";
qbittorrent.enable = lib.mkEnableOption "qbittorrent podman";
openobserve.enable = lib.mkEnableOption "openobserve podman";
servarr = {
enable = mkEnableOption "servarr group";

View file

@ -36,6 +36,7 @@
servarr.recyclarr.enable = true;
servarr.real-debrid-manager.enable = false;
servarr.rdtclient.enable = true;
openobserve.enable = true;
};
docker = {

View file

@ -1,5 +1,5 @@
bareksa:
openvpn: ENC[AES256_GCM,data:sk9en8ZFka98drUsniJsxi82U/XoluiOsKtB07k0VfqtNi8YVEQ2hV2RtLWXtJX5kBAxCt3AhCF/zehqhYMr4y3ElCLYWzFDJn6G3a4iE4lUCKEFQoCeZcDuCRnGjXIg4dGKGubKeCQ7giiaXQZ89qlj+e0DXLLk7iyzwyY3DxxYEZk6UcXM0OWDByZ6idghyK1yIjauM/7qROj65lKp2jf8q8vb54Bqkd9FR5kVvZJhu8Oebux3JHLFKpMsBV4buFiUtqjNlJ9UHfJk1VKydiHJuZKGKyjXx40m1tE96UkHsQvJQtpq+RRFZBZfE6VntiXFv/BL9YYW25sqCkdcqeVrUnHrrW20HLGVy6z/As/GaZc0mthPNng4Hs0mF9jEDbrsHSko8cqy2AQ2aMoH5qqxxaOLquTFWELw/NfCM2l3EEmj3mO0huEVvJMiKueVk8BcW81UhfIEPy0jROzYVjdqgX3XJdXbxnzCx9Z4jL6247MD9/9wSyiLpbVc9olKhYU2fkRaxoMzVTlpcJog1By4FcloLqt+IxJPNdI30bbV1SBOgcKmXavb7mLuvUxpYpw+kPMvobm/3EeFI94dSiOjARNp0U0VE1u5S5oLcf0i3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5xVHtuhFrz/7Z3QzuCllCrZv00HYY4zRNDRXvY9UvGPEGyWFEQnLzxu+CsK6UAsOZV2BXBmsN1RqBPcEyFRsl8e4L7Ll7CuIXtz5Fcdwe17XubG4ssD1rXUAePFunzK51y0eKBwh0FDYO1LicufrwrYl9jAuUVv7OReIrmzI63iUolz8iNk9vDF7LGDSjWvo9lm19MAXZUQTos+mLUnpYyh29Ma3lNbmi31ufX3ln4cbOmym+2LI3y/cK81d3g+Y4C96UQKOJsNAOB4S9ytscn0RssEej/jMxs6sFvPxEDsGuTFJA8qQ/GS4OO/hAqcy2nu/OvplDuHTg+e/vpRaChlfN49Hg3U7bcky/qMMfftbfObZV0HMtt+VtwMUxyfKwLOJOEMgJeABKzpkUt5TnrnEUvm54P9GYvNPHM/m1M8naKTgyep8a03rqgxBblOYdruyZO/japCO5GNqaP375NslbUs8IPJtNSmiyzEwd4yak+HW+3/fB94q0sL8jsT0JGhWS8u9QwEb9FKSRBsGKCZYsIif8nVcBiMFmHCI9L6uUNuh8M0zyZ29Mq8akYDOWYJdlFeJpu9Ha8cTUjcIVHQJwxy7XtWj+arTHckRV628OFz/KZuauDhF2bhZ55OzOJHt3q//zHy+wuHXQJYerJMoE9aNmmIr8Mwfphvf1q+PnC5MqRnHWLNsq8H6njdq3qqGiFBeAoclSl26LT7IeYzQJ7og==,iv:amxpN4aoRTwsRyhdwjtyGgq5d7AGhGmgl4Xb5SUYD24=,tag:T+dE4XtgSsjBrXIyu6Py4g==,type:str]
sops:
kms: []
gcp_kms: []
@ -15,8 +15,8 @@ sops:
TlB6MjhXY1VPUkJQS05hdFVGbGlIdUEKhK2RFfuDZUXdDUL/ueJnRP65lAGFVPXg
zqZdgIU6/CKKRjguw4LC2aO75y2tISRrACvvzjjp0LED6rZQfZspWg==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-07-12T03:10:48Z"
mac: ENC[AES256_GCM,data:bGMnCGchG79mWb6c6AA+80/iuFSlESY6UhtoUV5uRcXZG8kzjN/k+r9NddoAgVK/l6vK4Lu3VipEef30uw9TXxKTpLU07nxNQGly2mlJNlbGRBNJzfNJu7pRoxSq77UJOl5MVtaPPTB61l4Iev3t+x27RJmPpTOncQ0kp2z2a/U=,iv:tFYj3s7pDjU/q96NcNiDdQmSH3zv7M9AhLDAbBKvprE=,tag:MyNls7RWiXhTWo+QJQXoGw==,type:str]
lastmodified: "2024-07-12T05:06:34Z"
mac: ENC[AES256_GCM,data:AgRjY8T0JLuI/YMeEtGmzu8RcJQCs9PJKzM+yNRbP23GNQGkNEo50WqFqxgphuohpYNLlkdCnA0UFZYxF1iEjJehPMVY99j7UnP41G5fMIzPqW7oXN88VJ+N9ZnyIBk9SOTEJMsYtz5lzI3wRufJpf8RtHLuIHGyMU7u6k3Wxok=,iv:+evH8GBEMJZJGUU5mP+1/8yYr/D1ZitCt4QJ0PHQCzs=,tag:WPQ7BWn+NkJYvOwmvqAIew==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.8.1

22
secrets/openobserve.yaml Normal file
View file

@ -0,0 +1,22 @@
openobserve:
env: ENC[AES256_GCM,data:c7XB9h82qCaV8MWTibJ2DUAjCDEgtjNvXi8B4tLfiJcws7Wfhhh5HQHiy/2Yc4q0h9QcQ9U/WNB05RVdX76H5UTsM7d9SbpG3/NW8d3yyiJlIZ7b/e4l3LD0HEM=,iv:pUcZ2S6mmFncs14HcRwEGSNh+/dz3Ut9M0kWVJwVkck=,tag:279V8olra+A1reKtZHnelQ==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age1kruum2varzua7w5n6n52vhwyek2arc685rhcwt0u7k2jf5mecsjslkl9ll
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBZRmg5YURIdVNMVUFGbTNM
eXdWR0R1N09RMm4vSjRvUmw1VkV0SEFtN2s4CkhCcXgyNHFTU0hwMnNYdG5Sam9j
R21jcDY2MEhtVnZBckpsc010OEVqZmsKLS0tIDZtRmgzRWJZc1NLVVM0dkpwbUpL
Mk1OU0htcGIrWkUzdzFPZUxYb1JyeDAKQjXadi43Wr4yA89HDLsWACrHeUn265zG
qIU/QU6aO7bgoyflQfoppwD6bSqVrJMcTnTujIRA4xDtmCfNnP2cFQ==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-07-15T07:57:57Z"
mac: ENC[AES256_GCM,data:uY2pxpgCxOBlj2gGS+/CQ9u0pe6gYlMXlaLKfHjZwJyzAeLjKAE2DLxQVDxx1z2jxx9FoaBnmVEwIgZ399Nk0Ale8ZlN63nduzycTb0kY1Vq8+tNC5Z+LEBe6p54ORmAHQUpUpK8zG72tg3djqH4D3Lm/cyiDegp14PcmK3xRuM=,iv:EJY4zl+vuWR6GJOulF7XLhSBlwSZgq9u2BMLRPR74m0=,tag:1JU2MToCFisIqp1BC/2oNw==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.8.1

View file

@ -41,12 +41,13 @@ in
# 10.88.0.6 -> Suwayomi Flaresolverr
# 10.88.1.1 -> Pihole
imports = [
./openobserve.nix
./pihole.nix
./qbittorrent.nix
./redmage-demo.nix
./redmage.nix
./servarr
./suwayomi.nix
./ytptube.nix
./servarr
];
}

View file

@ -0,0 +1,53 @@
{ config, lib, ... }:
let
name = "openobserve";
podman = config.profile.podman;
inherit (lib) mkIf;
ip = "10.88.99.1";
image = "public.ecr.aws/zinclabs/openobserve:latest";
rootVolume = "/nas/podman/openobserve";
domain = "${name}.tigor.web.id";
user = config.profile.user;
uid = toString user.uid;
gid = toString user.gid;
in
{
config = mkIf (podman.enable && podman.${name}.enable) {
services.caddy.virtualHosts.${domain}.extraConfig = ''
reverse_proxy ${ip}:5080
'';
system.activationScripts."podman-${name}" = ''
mkdir -p ${rootVolume}/data
chown ${uid}:${gid} ${rootVolume} ${rootVolume}/data
'';
sops.secrets."openobserve/env".sopsFile = ../../secrets/openobserve.yaml;
virtualisation.oci-containers.containers.${name} = {
inherit image;
hostname = name;
autoStart = true;
user = "${uid}:${gid}";
environment = {
TZ = "Asia/Jakarta";
ZO_DATA_DIR = "/data";
ZO_WEB_URL = "https://${domain}";
};
volumes = [
"${rootVolume}/data:/data"
];
extraOptions = [
"--network=podman"
"--ip=${ip}"
];
environmentFiles = [
config.sops.secrets."openobserve/env".path
];
labels = {
"io.containers.autoupdate" = "registry";
};
};
};
}

View file

@ -29,7 +29,6 @@ in
key = config.sops.secrets."syncthing/server/key.pem".path;
cert = config.sops.secrets."syncthing/server/cert.pem".path;
settings = {
options.urAccepted = 1; # Allow anonymous usage reporting.
folders = {
"/nas/redmage/images/windows" = {
label = "Redmage/Windows";
@ -113,6 +112,8 @@ in
id = "EmuDeck";
devices = [
"steam-deck"
"windows"
"living-room-system"
];
};
};
@ -141,6 +142,10 @@ in
name = "Steam Deck";
id = "6SOR4SU-MVT2XIS-4J6IGVP-LITFLDB-ZH6LA7T-PUSQK26-P6RVWZ7-YB7P4AX";
};
living-room-system = {
name = "Living Room System";
id = "63W5VTT-X6R6WOC-LMQEXM7-6PCUYLX-UONPYFB-UYM2OGN-2TJ47HG-66TSCQC";
};
};
};
overrideFolders = true;