sodiboo / niri-flake

Nix packages and modules for niri
https://github.com/YaLTeR/niri
MIT License
72 stars 10 forks source link

error "The option `hardware.graphics` does not exist" on stable `nixosSystem` with unstable `pkgs` #351

Closed KiaraGrouwstra closed 3 days ago

KiaraGrouwstra commented 5 days ago

i'm currently running nixpkgs versions separated between my nixosSystem call vs my packages (no minimum repro yet), which i hoped would help keep my system stable while giving the flexibility of trying new stuff. niri-flake now uses config.system.nixos.release to determine whether it can use graphics.enable, which seemed to under my setup fail. i'm not sure this is worth investigating as we're all bound to update system, but i figured i'd at least file this here in case others also run into this (and we'd get closer to a repro).

sodiboo commented 5 days ago

huh? so you're calling nixosSystem with modules from 24.05, then? shouldn't config.system.nixos.release be 24.05 in that case? what is it on your system? how did this happen

KiaraGrouwstra commented 3 days ago

i wanted to use AMD gpu acceleration, which takes ages to build while caching for it seemed flaky earlier. i'd wanted to solve crap like that by just keeping my system on stable then, while basically keeping everything else in home-manager (which would just use unstable nixpkgs). 😅 at this point i also just updated tho. 😅