chore(flake): update photoprism2nix

This commit is contained in:
Felix Schröter 2021-12-01 12:27:38 +01:00
parent e073ed6cab
commit c50e6a8f07
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
2 changed files with 24 additions and 24 deletions

View file

@ -33,10 +33,7 @@
}, },
"gomod2nix": { "gomod2nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": "nixpkgs_2",
"photoprism-flake",
"nixpkgs"
],
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
@ -133,18 +130,18 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1637723398, "lastModified": 1638286143,
"narHash": "sha256-DGSZANWNb6/Serix9FdTQLnjHcFTPTmI/gtBVmLn1U8=", "narHash": "sha256-A+rgjbIpz3uPRKHPXwdmouVcVn5pZqLnaZHymjkraG4=",
"ref": "release-21.11", "owner": "NixOS",
"rev": "a7e4a67cc1a95780dc3bcd082339411d74489c0d", "repo": "nixpkgs",
"revCount": 333570, "rev": "29d1f6e1f625d246dcf84a78ef97b4da3cafc6ea",
"type": "git", "type": "github"
"url": "file:///nix/nixpkgs"
}, },
"original": { "original": {
"id": "nixpkgs", "owner": "NixOS",
"ref": "release-21.11", "ref": "nixos-unstable",
"type": "indirect" "repo": "nixpkgs",
"type": "github"
} }
}, },
"nur": { "nur": {
@ -243,14 +240,16 @@
"type": "github" "type": "github"
} }
}, },
"photoprism-flake": { "photoprism2nix": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
"flake-utils": [ "flake-utils": [
"flake-utils" "flake-utils"
], ],
"gomod2nix": "gomod2nix", "gomod2nix": "gomod2nix",
"nixpkgs": "nixpkgs_2", "nixpkgs": [
"nixpkgs"
],
"photoprism": "photoprism", "photoprism": "photoprism",
"ranz2nix": "ranz2nix" "ranz2nix": "ranz2nix"
}, },
@ -258,13 +257,13 @@
"lastModified": 1637816713, "lastModified": 1637816713,
"narHash": "sha256-/GcZROyveHIoJoEu4GYtsrgOqN0KYeOiLMO7ysrwiww=", "narHash": "sha256-/GcZROyveHIoJoEu4GYtsrgOqN0KYeOiLMO7ysrwiww=",
"owner": "GTrunSec", "owner": "GTrunSec",
"repo": "photoprism-flake", "repo": "photoprism2nix",
"rev": "91157226909dbf8c31b61b6e42e2d10d959ff452", "rev": "91157226909dbf8c31b61b6e42e2d10d959ff452",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "GTrunSec", "owner": "GTrunSec",
"repo": "photoprism-flake", "repo": "photoprism2nix",
"type": "github" "type": "github"
} }
}, },
@ -319,7 +318,7 @@
"nvim-ts-autotag": "nvim-ts-autotag", "nvim-ts-autotag": "nvim-ts-autotag",
"nvim-ts-context-commentstring": "nvim-ts-context-commentstring", "nvim-ts-context-commentstring": "nvim-ts-context-commentstring",
"obelisk": "obelisk", "obelisk": "obelisk",
"photoprism-flake": "photoprism-flake", "photoprism2nix": "photoprism2nix",
"pre-commit-hooks": "pre-commit-hooks" "pre-commit-hooks": "pre-commit-hooks"
} }
}, },

View file

@ -23,8 +23,9 @@
flake = false; flake = false;
}; };
inputs.photoprism-flake = { inputs.photoprism2nix = {
url = "github:GTrunSec/photoprism-flake"; url = "github:GTrunSec/photoprism2nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils"; inputs.flake-utils.follows = "flake-utils";
}; };
@ -50,7 +51,7 @@
}; };
outputs = { self, nixpkgs, nixos-hardware, flake-utils, home-manager, nur outputs = { self, nixpkgs, nixos-hardware, flake-utils, home-manager, nur
, neovim, obelisk, photoprism-flake, pre-commit-hooks, nvim-ts-autotag , neovim, obelisk, photoprism2nix, pre-commit-hooks, nvim-ts-autotag
, nvim-ts-context-commentstring, nvim-lspfuzzy }@inputs: , nvim-ts-context-commentstring, nvim-lspfuzzy }@inputs:
let let
overlays = { overlays = {
@ -85,7 +86,7 @@
}; };
# custom overlay so it's using the flake's nixpkgs # custom overlay so it's using the flake's nixpkgs
photoprism = self: super: { photoprism = self: super: {
photoprism = photoprism-flake.defaultPackage.${self.system}; photoprism = photoprism2nix.defaultPackage.${self.system};
}; };
}; };
nixosModules = { flakeDefaults = import ./modules/flakeDefaults.nix; }; nixosModules = { flakeDefaults = import ./modules/flakeDefaults.nix; };
@ -164,7 +165,7 @@
modules = [ modules = [
nixpkgs.nixosModules.notDetected nixpkgs.nixosModules.notDetected
nixos-hardware.nixosModules.raspberry-pi-4 nixos-hardware.nixosModules.raspberry-pi-4
# photoprism-flake.nixosModules.photoprism # photoprism2nix.nixosModules.photoprism
(lib.createSystem "felix-rpi4" { (lib.createSystem "felix-rpi4" {
hardwareConfig = ./hardware/rpi4.nix; hardwareConfig = ./hardware/rpi4.nix;
config = ./rpi4.nix; config = ./rpi4.nix;