This commit is contained in:
2025-08-06 23:11:59 +03:00
parent 6b1bc2ab85
commit 0b92e733aa
6 changed files with 45 additions and 11 deletions
+7 -2
View File
@@ -4,19 +4,24 @@
lib,
...
}:
# let
# isServer = config.xlib.device.type == "server";
# in
{
imports = with inputs; [
./essentials
./server
./users.nix
./options.nix
#./overlays.nix
./temp.nix
#(lib.mkIf (config.xlib.device.type == "server") (import ./server { inherit inputs config lib pkgs ; }))
../nixosModules/server
home-manager.nixosModules.home-manager # home-manager module
nix-index-database.nixosModules.nix-index # nix-index module
];
server.enable = (config.xlib.device.type == "server");
_module.args.inputs = inputs;
services.immich.package = lib.mkIf (
config.xlib.device.type == "server"
-8
View File
@@ -1,8 +0,0 @@
{
config,
lib,
...
}:
{
imports = [ ./stirling-pdf.nix ];
}
+11
View File
@@ -0,0 +1,11 @@
{
config,
...
}:
{
services.mealie = {
enable = false;
listenAddress = "0.0.0.0";
port = 9000;
};
}
+13
View File
@@ -0,0 +1,13 @@
{
config,
...
}:
{
services.miniflux = {
enable = false;
config = {
CLEANUP_FREQUENCY = 48;
LISTEN_ADDR = "localhost:6061";
};
};
}
+10
View File
@@ -0,0 +1,10 @@
{
config,
lib,
...
}:
{
imports = [
./stirling-pdf.nix
];
}
@@ -15,7 +15,10 @@
# version = "1.1.1";
# });
# in
lib.mkIf (config.xlib.device.type == "server") {
# lib.mkIf (config.xlib.device.type == "server")
{
services.stirling-pdf = {
enable = true;
#package = customPackage;