Add support for nixos-unstable packages

This commit is contained in:
Wekuz 2026-04-04 18:33:53 +03:00
parent 9a3a422dd3
commit 4f835cea7e
Signed by: Wekuz
GPG key ID: 2E502F2AABD32DF9
2 changed files with 18 additions and 1 deletions

View file

@ -3,6 +3,7 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-25.11";
@ -28,6 +29,7 @@
outputs =
{
nixpkgs,
nixpkgs-unstable,
home-manager,
sops-nix,
disko,
@ -36,7 +38,21 @@
{
nixosConfigurations = {
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 = [
./hosts/plexy
home-manager.nixosModules.home-manager

View file

@ -1,6 +1,7 @@
{
config,
pkgs,
pkgs-unstable,
...
}: