mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 22:41:52 +03:00
1
This commit is contained in:
+7
-2
@@ -4,19 +4,24 @@
|
|||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
# let
|
||||||
|
# isServer = config.xlib.device.type == "server";
|
||||||
|
# in
|
||||||
{
|
{
|
||||||
imports = with inputs; [
|
imports = with inputs; [
|
||||||
./essentials
|
./essentials
|
||||||
./server
|
|
||||||
./users.nix
|
./users.nix
|
||||||
./options.nix
|
./options.nix
|
||||||
#./overlays.nix
|
#./overlays.nix
|
||||||
./temp.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
|
home-manager.nixosModules.home-manager # home-manager module
|
||||||
nix-index-database.nixosModules.nix-index # nix-index module
|
nix-index-database.nixosModules.nix-index # nix-index module
|
||||||
];
|
];
|
||||||
|
|
||||||
|
server.enable = (config.xlib.device.type == "server");
|
||||||
|
|
||||||
_module.args.inputs = inputs;
|
_module.args.inputs = inputs;
|
||||||
services.immich.package = lib.mkIf (
|
services.immich.package = lib.mkIf (
|
||||||
config.xlib.device.type == "server"
|
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";
|
# version = "1.1.1";
|
||||||
# });
|
# });
|
||||||
# in
|
# in
|
||||||
lib.mkIf (config.xlib.device.type == "server") {
|
|
||||||
|
# lib.mkIf (config.xlib.device.type == "server")
|
||||||
|
|
||||||
|
{
|
||||||
services.stirling-pdf = {
|
services.stirling-pdf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#package = customPackage;
|
#package = customPackage;
|
||||||
Reference in New Issue
Block a user