mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
1
This commit is contained in:
+7
-2
@@ -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"
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ ./stirling-pdf.nix ];
|
||||
}
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
{
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.mealie = {
|
||||
enable = false;
|
||||
listenAddress = "0.0.0.0";
|
||||
port = 9000;
|
||||
};
|
||||
}
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.miniflux = {
|
||||
enable = false;
|
||||
config = {
|
||||
CLEANUP_FREQUENCY = 48;
|
||||
LISTEN_ADDR = "localhost:6061";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user