mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-22 20:17:31 +01:00
Compare commits
No commits in common. "110b410fbdccce9b46d445d3a71418284fbc2680" and "157c54ae655d192374da7271c5c131b8a86a300a" have entirely different histories.
110b410fbd
...
157c54ae65
22
flake.lock
generated
22
flake.lock
generated
@ -207,11 +207,11 @@
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1731386116,
|
||||
"narHash": "sha256-lKA770aUmjPHdTaJWnP3yQ9OI1TigenUqVC3wweqZuI=",
|
||||
"lastModified": 1728193676,
|
||||
"narHash": "sha256-PbDWAIjKJdlVg+qQRhzdSor04bAPApDqIv2DofTyynk=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "689fed12a013f56d4c4d3f612489634267d86529",
|
||||
"rev": "ecbc1ca8ffd6aea8372ad16be9ebbb39889e55b6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -269,6 +269,22 @@
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1728241625,
|
||||
"narHash": "sha256-yumd4fBc/hi8a9QgA9IT8vlQuLZ2oqhkJXHPKxH/tRw=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c31898adf5a8ed202ce5bea9f347b1c6871f32d1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
@ -11,7 +11,6 @@
|
||||
# ./exports.nix
|
||||
./filesystems.nix
|
||||
|
||||
./services/archivebox.nix
|
||||
./services/calibre.nix
|
||||
./services/ersatztv.nix
|
||||
./services/jellyfin.nix
|
||||
|
@ -1,35 +0,0 @@
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
host = "127.0.1.2";
|
||||
port = "5009";
|
||||
uid = 911;
|
||||
gid = 911;
|
||||
in {
|
||||
users.users.archivebox = {
|
||||
inherit uid;
|
||||
group = "archivebox";
|
||||
isSystemUser = true;
|
||||
useDefaultShell = true;
|
||||
description = "ArchiveBox web archiving tool";
|
||||
};
|
||||
|
||||
users.groups.archivebox = {
|
||||
inherit gid;
|
||||
};
|
||||
|
||||
# ArchiveBox - Open source self-hosted web archiving.
|
||||
virtualisation.oci-containers.containers.archivebox = {
|
||||
image = "archivebox/archivebox:0.8.5rc50";
|
||||
ports = [ "${host}:${port}:8000" ];
|
||||
volumes = [
|
||||
"/tank/archivebox:/data"
|
||||
];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."archivebox.home.feal.no" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://${host}:${port}";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
@ -5,7 +5,7 @@ let
|
||||
in {
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud30;
|
||||
package = pkgs.nextcloud29;
|
||||
inherit hostName;
|
||||
home = "/tank/nextcloud";
|
||||
https = true;
|
||||
|
Loading…
Reference in New Issue
Block a user