add nixarr to h001
This commit is contained in:
parent
c53ab4f310
commit
1b02f9ea95
7 changed files with 37 additions and 127 deletions
|
@ -1,4 +1,7 @@
|
|||
{ common }:
|
||||
{ inputs }:
|
||||
let
|
||||
common = inputs.common;
|
||||
in
|
||||
{
|
||||
...
|
||||
}:
|
||||
|
|
8
hosts/h001/flake.lock
generated
8
hosts/h001/flake.lock
generated
|
@ -194,16 +194,16 @@
|
|||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1745868005,
|
||||
"narHash": "sha256-hZScOyQphT4RUmSEJX+2OxjIlGgLwSd8iW1LNtAWIOs=",
|
||||
"lastModified": 1750259320,
|
||||
"narHash": "sha256-H8J4H2XCIMEJ5g6fZ179QfQvsc2dUqhqfBjC8RAHNRY=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "330d0a4167924b43f31cc9406df363f71b768a02",
|
||||
"rev": "9ba04bda9249d5d5e5238303c9755de5a49a79c5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-24.11",
|
||||
"ref": "nixos-25.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
common.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles";
|
||||
|
||||
ros_neovim.url = "git+https://git.joshuabell.xyz/ringofstorms/nvim";
|
||||
|
||||
nixarr.url = "github:rasmus-kirk/nixarr";
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
@ -15,8 +17,9 @@
|
|||
nixpkgs,
|
||||
common,
|
||||
ros_neovim,
|
||||
nixarr,
|
||||
...
|
||||
}:
|
||||
}@inputs:
|
||||
let
|
||||
configuration_name = "h001";
|
||||
lib = nixpkgs.lib;
|
||||
|
@ -28,10 +31,11 @@
|
|||
modules = [
|
||||
common.nixosModules.default
|
||||
ros_neovim.nixosModules.default
|
||||
nixarr.nixosModules.default
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
./mods
|
||||
(import ./containers { inherit common; })
|
||||
(import ./containers { inherit inputs; })
|
||||
(
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
|
|
|
@ -4,5 +4,6 @@
|
|||
{
|
||||
imports = [
|
||||
./adguardhome.nix
|
||||
./nixarr.nix
|
||||
];
|
||||
}
|
||||
|
|
22
hosts/h001/mods/nixarr.nix
Normal file
22
hosts/h001/mods/nixarr.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
config = {
|
||||
nixarr = {
|
||||
enable = true;
|
||||
mediaDir = "/var/lib/nixarr/media";
|
||||
stateDir = "/var/lib/nixarr/state";
|
||||
|
||||
jellyfin.enable = true; # jellyfinnnnnn!
|
||||
sabnzbd.enable = true; # Usenet downloader
|
||||
prowlarr.enable = true; # Index manager
|
||||
sonarr.enable = true; # TV
|
||||
radarr.enable = true; # Movies
|
||||
bazarr.enable = true; # subtitles for sonarr and radarr
|
||||
lidarr.enable = true; # music
|
||||
readarr.enable = true; # books
|
||||
jellyseerr.enable = true; # request manager for media
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue