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