Compare commits

...

2 commits

Author SHA1 Message Date
6d93a61e8c
Add Seerr (Jellyseerr) 2026-04-04 20:00:19 +03:00
c0d075b970
Add support for nixos-unstable packages 2026-04-04 19:59:40 +03:00
2 changed files with 21 additions and 1 deletions

View file

@ -3,6 +3,7 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-25.11"; url = "github:nix-community/home-manager/release-25.11";
@ -28,6 +29,7 @@
outputs = outputs =
{ {
nixpkgs, nixpkgs,
nixpkgs-unstable,
home-manager, home-manager,
sops-nix, sops-nix,
disko, disko,
@ -36,7 +38,21 @@
{ {
nixosConfigurations = { nixosConfigurations = {
plexy = nixpkgs.lib.nixosSystem { plexy = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; specialArgs =
let
system = "x86_64-linux";
in
{
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
pkgs-unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
};
modules = [ modules = [
./hosts/plexy ./hosts/plexy
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager

View file

@ -1,6 +1,7 @@
{ {
config, config,
pkgs, pkgs,
pkgs-unstable,
... ...
}: }:
@ -142,6 +143,9 @@
jellyfin = { jellyfin = {
enable = true; enable = true;
}; };
seerr = {
enable = true;
};
}; };
environment.variables.EDITOR = "nvim"; environment.variables.EDITOR = "nvim";