Compare commits

...

2 commits

Author SHA1 Message Date
4f835cea7e
Add support for nixos-unstable packages 2026-04-04 18:33:53 +03:00
9a3a422dd3
Hardware acceleration 2026-04-04 18:46:14 +03:00
2 changed files with 21 additions and 3 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,
...
}:
@ -49,8 +50,9 @@
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver
intel-vaapi-driver
intel-media-driver # VAAPI
intel-compute-runtime # OpenCL
libvdpau-va-gl # VDPAU
];
};