outline config + paperless overlay

This commit is contained in:
Sascha Koenig
2025-07-10 19:30:30 +02:00
parent 55e8c6cae5
commit 0ff5c04d23
5 changed files with 20 additions and 9 deletions

12
flake.lock generated
View File

@ -251,19 +251,19 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-9472de4": { "nixpkgs-45570c2": {
"locked": { "locked": {
"lastModified": 1738854639, "lastModified": 1750950224,
"narHash": "sha256-P6CUfI32vWOhNcOPoQQCdQihqEX8baa6SeMET/Ivimc=", "narHash": "sha256-vMCk6wKJVgR7H2pVrQV4/qygzTtvpnS/9jCT3cjzXVM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9472de43946f312ab6c82ea25c416217c025c3db", "rev": "45570c299dc2b63c8c574c4cd77f0b92f7e2766e",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9472de43946f312ab6c82ea25c416217c025c3db", "rev": "45570c299dc2b63c8c574c4cd77f0b92f7e2766e",
"type": "github" "type": "github"
} }
}, },
@ -388,7 +388,7 @@
"hyprpanel": "hyprpanel", "hyprpanel": "hyprpanel",
"nixos-generators": "nixos-generators", "nixos-generators": "nixos-generators",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"nixpkgs-9472de4": "nixpkgs-9472de4", "nixpkgs-45570c2": "nixpkgs-45570c2",
"nixpkgs-locked": "nixpkgs-locked", "nixpkgs-locked": "nixpkgs-locked",
"nixpkgs-master": "nixpkgs-master", "nixpkgs-master": "nixpkgs-master",
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",

View File

@ -17,7 +17,7 @@
}; };
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.05"; nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.05";
nixpkgs-9472de4.url = "github:nixos/nixpkgs/9472de43946f312ab6c82ea25c416217c025c3db"; nixpkgs-45570c2.url = "github:nixos/nixpkgs/45570c299dc2b63c8c574c4cd77f0b92f7e2766e";
nixpkgs-locked.url = "github:nixos/nixpkgs/2744d988fa116fc6d46cdfa3d1c936d0abd7d121"; nixpkgs-locked.url = "github:nixos/nixpkgs/2744d988fa116fc6d46cdfa3d1c936d0abd7d121";
nixpkgs-master.url = "github:nixos/nixpkgs/master"; nixpkgs-master.url = "github:nixos/nixpkgs/master";

View File

@ -60,12 +60,13 @@
services = { services = {
headscale = { headscale = {
enable = true; enable = true;
adminUser = "m3tam3re"; adminUser = "m3tam3re@m3ta.loc";
port = 3009; port = 3009;
settings = { settings = {
server_url = "https://va.m3tam3re.com"; server_url = "https://va.m3tam3re.com";
dns = { dns = {
base_domain = "m3ta.loc"; base_domain = "m3ta.loc";
nameservers.global = ["8.8.8.8"];
}; };
logtail.enabled = false; logtail.enabled = false;
policy.path = "${aclFile}"; policy.path = "${aclFile}";

View File

@ -1,8 +1,17 @@
{ {
services.outline = { services.outline = {
enable = true;
port = 3019; port = 3019;
publicUrl = "https://ol.m3ta.dev";
databaseUrl = "postgresql://outline:outline@127.0.0.1:5432/outline"; databaseUrl = "postgresql://outline:outline@127.0.0.1:5432/outline";
storage = "local"; storage = {
storageType = "local";
};
};
systemd.services.outline.serviceConfig = {
Environment = [
"PGSSLMODE=disable"
];
}; };
# Traefik configuration specific to littlelink # Traefik configuration specific to littlelink
services.traefik.dynamicConfigOptions.http = { services.traefik.dynamicConfigOptions.http = {

View File

@ -15,6 +15,7 @@
}; };
nodejs_24 = inputs.nixpkgs-stable.legacyPackages.${prev.system}.nodejs_24; nodejs_24 = inputs.nixpkgs-stable.legacyPackages.${prev.system}.nodejs_24;
paperless-ngx = inputs.nixpkgs-45570c2.legacyPackages.${prev.system}.paperless-ngx;
# trezord = inputs.nixpkgs-2744d98.legacyPackages.${prev.system}.trezord; # trezord = inputs.nixpkgs-2744d98.legacyPackages.${prev.system}.trezord;
# mesa = inputs.nixpkgs-master.legacyPackages.${prev.system}.mesa; # mesa = inputs.nixpkgs-master.legacyPackages.${prev.system}.mesa;
# hyprpanel = inputs.hyprpanel.packages.${prev.system}.default.overrideAttrs (prev: { # hyprpanel = inputs.hyprpanel.packages.${prev.system}.default.overrideAttrs (prev: {