Skip to content

Commit

Permalink
home: opt: www: Decoupled www modules from each other to support inde…
Browse files Browse the repository at this point in the history
…pendent deployment
  • Loading branch information
aftix committed Jan 6, 2025
1 parent 50285b7 commit 3dbdff2
Show file tree
Hide file tree
Showing 15 changed files with 1,023 additions and 521 deletions.
186 changes: 0 additions & 186 deletions host/common/barcodebuddy.nix

This file was deleted.

1 change: 0 additions & 1 deletion host/common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
in {
imports = [
./apparmor.nix
./barcodebuddy.nix
./channels.nix
./coffeepaste.nix
./hostBlacklist
Expand Down
71 changes: 51 additions & 20 deletions host/fermi.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,69 @@ in {
};
};

my = {
my = let
domain = "aftix.xyz";
in {
flake = "/home/aftix/cfg";

users.aftix.extraGroups = [];

attic = {
enable = true;
domain = "attic.${domain}";
};

www = {
adventofcode = true;
aftgraphs = true;
blog = true;
coffeepasteLocation = "litterbox";
forgejo.enable = true;
kanidm.enable = true;
searx.enable = true;
grocy.enable = true;
blog = {
enable = true;
inherit domain;
};

barcodebuddy = {
enable = true;
domain = "bbuddy.${domain}";
};

coffeepaste = {
enable = true;
virtualHost = domain;
location = "litterbox";
};

forgejo = {
enable = true;
domain = "forge.${domain}";
};

grocy = {
enable = true;
domain = "grocy.${domain}";
};

kanidm = {
enable = true;
domain = "identity.${domain}";
};

rss = {
enable = true;
domain = "rss.${domain}";
};

searx = {
enable = true;
domain = "searx.${domain}";
};

acmeDomain = domain;
ip = "170.130.165.174";
ipv6 = "2a0b:7140:8:1:5054:ff:fe84:ed8c";
};

matrix = {
enable = true;
virtualHost = domain;

supportEndpointJSON.contacts = [
{
email_address = "[email protected]";
Expand Down Expand Up @@ -97,19 +139,8 @@ in {
];

services = {
atticd.enable = true;
barcodebuddy.enable = true;
bpftune.enable = true;
coffeepaste = {
enable = true;
url = "https://${config.my.www.hostname}/${config.my.www.coffeepasteLocation}";
};
freshrss.enable = true;
openssh.settings.AllowUsers = ["aftix"];
youtube-operational-api = {
enable = true;
keysFile = config.sops.templates.youtubeapi_keys.path;
};
};

users = {
Expand Down
Loading

0 comments on commit 3dbdff2

Please sign in to comment.