mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 22:41:52 +03:00
123
This commit is contained in:
@@ -16,4 +16,5 @@
|
|||||||
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
|
||||||
];
|
];
|
||||||
|
_module.args.inputs = inputs;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
nixfmt-tree
|
nixfmt-tree
|
||||||
nvd
|
nvd
|
||||||
nix-du
|
nix-du
|
||||||
|
nix-prefetch-scripts
|
||||||
|
|
||||||
# Lazy
|
# Lazy
|
||||||
lazycli
|
lazycli
|
||||||
|
|||||||
@@ -34,7 +34,8 @@
|
|||||||
|
|
||||||
# Extras
|
# Extras
|
||||||
plasma-manager = "nix run github:nix-community/plasma-manager";
|
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";
|
json2nix = "nix run github:sempruijs/json2nix";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,17 +1,24 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
# let
|
# let
|
||||||
# fix = import inputs.nixpkgs-last-unstable {
|
# customPackage = pkgs.stirling-pdf.overrideAttrs (oldAttrs: {
|
||||||
# system = "x86_64-linux";
|
# src = pkgs.fetchFromGitHub {
|
||||||
# config.allowUnfree = true;
|
# owner = "Stirling-Tools";
|
||||||
# }; # temp
|
# repo = "Stirling-PDF";
|
||||||
|
# rev = "v1.1.1";
|
||||||
|
# sha256 = "0sphh65fdccnajdby9idy5w4zhcnxzzppv2d7zdz203d0lqs6hky";
|
||||||
|
# };
|
||||||
|
# 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;
|
||||||
environment = {
|
environment = {
|
||||||
SERVER_PORT = 6060;
|
SERVER_PORT = 6060;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user