This commit is contained in:
parent
dc487bc44f
commit
d7803e948c
3 changed files with 12 additions and 12 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
/result
|
||||
/config
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1658290795,
|
||||
"narHash": "sha256-t9hCidaSxPmzUimcSn51bjqcjjGsoQi6JLrAzJq0dz4=",
|
||||
"lastModified": 1676094287,
|
||||
"narHash": "sha256-z2gc84Hs9JmzmSmQ/n3Ano/uhYPS4uF8jZPcgKDTfb8=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "614a842b74b7a1497e8cfca7c61bec38f51911b3",
|
||||
"rev": "103fe0800b9d739c279997561c9da9d242d5b6b8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-unstable",
|
||||
"ref": "nixos-22.11",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
|
|
15
flake.nix
15
flake.nix
|
@ -3,13 +3,17 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs = {
|
||||
url = "nixpkgs/nixos-unstable";
|
||||
url = "nixpkgs/nixos-22.11";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
branch = "master";
|
||||
version = "4.3.2.6857";
|
||||
os = "linux";
|
||||
arch = "x64";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
|
@ -17,17 +21,11 @@
|
|||
self: super:
|
||||
{
|
||||
radarr =
|
||||
let
|
||||
branch = "develop";
|
||||
version = "4.2.0.6438";
|
||||
os = "linux";
|
||||
arch = "x64";
|
||||
in
|
||||
super.radarr.overrideAttrs (old: {
|
||||
inherit version;
|
||||
src = builtins.fetchurl {
|
||||
url = "https://github.com/Radarr/Radarr/releases/download/v${version}/Radarr.${branch}.${version}.${os}-core-${arch}.tar.gz";
|
||||
sha256 = "sha256:1qkg81q29mnc5zc2h6khghx35mn41xjpnz51pxpsfwzwkjycbgg1";
|
||||
sha256 = "sha256:0bxmyifn8q7sgf7y98lf2c4fva49c6m79is3h7l1a869y0g6irpc";
|
||||
};
|
||||
});
|
||||
}
|
||||
|
@ -59,6 +57,7 @@
|
|||
"-nobrowser"
|
||||
"-data=/config"
|
||||
];
|
||||
WorkingDir = "${pkgs.radarr}/share/radarr-${version}/UI";
|
||||
User = "5000:5000";
|
||||
Env = [
|
||||
"COMPlus_EnableDiagnostics=0"
|
||||
|
|
Loading…
Reference in a new issue