This commit is contained in:
2025-08-06 17:20:00 +03:00
parent 28a952f6c3
commit 81f1f863d4
4 changed files with 15 additions and 5 deletions
+1
View File
@@ -16,4 +16,5 @@
home-manager.nixosModules.home-manager # home-manager module
nix-index-database.nixosModules.nix-index # nix-index module
];
_module.args.inputs = inputs;
}
+1
View File
@@ -20,6 +20,7 @@
nixfmt-tree
nvd
nix-du
nix-prefetch-scripts
# Lazy
lazycli
+2 -1
View File
@@ -34,7 +34,8 @@
# Extras
plasma-manager = "nix run github:nix-community/plasma-manager";
pip2nix = "nix run github:nix-community/pip2nix -- generate -r"; # https://github.com/nix-community/pip2nix
pip2nix = "nix run github:nix-community/pip2nix --"; # https://github.com/nix-community/pip2nix
pip2nix-g = "nix run github:nix-community/pip2nix -- generate -r";
json2nix = "nix run github:sempruijs/json2nix";
};
};
+11 -4
View File
@@ -1,17 +1,24 @@
{
config,
lib,
pkgs,
...
}:
# let
# fix = import inputs.nixpkgs-last-unstable {
# system = "x86_64-linux";
# config.allowUnfree = true;
# }; # temp
# customPackage = pkgs.stirling-pdf.overrideAttrs (oldAttrs: {
# src = pkgs.fetchFromGitHub {
# owner = "Stirling-Tools";
# repo = "Stirling-PDF";
# rev = "v1.1.1";
# sha256 = "0sphh65fdccnajdby9idy5w4zhcnxzzppv2d7zdz203d0lqs6hky";
# };
# version = "1.1.1";
# });
# in
lib.mkIf (config.xlib.device.type == "server") {
services.stirling-pdf = {
enable = true;
#package = customPackage;
environment = {
SERVER_PORT = 6060;
};