pin all leading edge apps to their own nixpkgs so they can update independently
This commit is contained in:
parent
b89d0a67fa
commit
3a0b2e754d
8 changed files with 431 additions and 315 deletions
|
|
@ -1,12 +1,22 @@
|
|||
{
|
||||
upkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
declaration = "services/web-apps/trilium.nix";
|
||||
nixpkgs = inputs.open-webui-nixpkgs;
|
||||
pkgs = import nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
disabledModules = [ declaration ];
|
||||
imports = [ "${nixpkgs}/nixos/modules/${declaration}" ];
|
||||
config = {
|
||||
services.trilium-server = {
|
||||
enable = true;
|
||||
package = upkgs.trilium-server;
|
||||
package = pkgs.trilium-server;
|
||||
port = 9111;
|
||||
host = "127.0.0.1";
|
||||
dataDir = "/var/lib/trilium";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue