diff --git a/lib/default.nix b/lib/default.nix index a00db77c..9020e1c2 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -49,7 +49,12 @@ inherit system; config.allowUnfree = unfree; hostPlatform = system; - }; + }; + pkgs-unstable = import inputs.nixpkgs-unstable { + inherit system; + config.allowUnfree = unfree; + hostPlatform = system; + }; modules = [ # Types are 'default', 'small', and 'minimal' diff --git a/nixos/users/albert/desktop.nix b/nixos/users/albert/desktop.nix index fde7fd5b..66687da3 100644 --- a/nixos/users/albert/desktop.nix +++ b/nixos/users/albert/desktop.nix @@ -1,11 +1,11 @@ -{ config, lib, pkgs, desktop, inputs, system, ... }: { +{ config, lib, pkgs, pkgs-unstable, desktop, inputs, system, ... }: { # Steam, Vintage Story areu nfree. - environment.systemPackages = with pkgs; [ - bitwarden - steam - lutris - vlc - inputs.nixpkgs-unstable.legacyPackages.${system}.vintagestory + environment.systemPackages = [ + pkgs.bitwarden + pkgs.steam + pkgs.lutris + pkgs.vlc + pkgs-unstable.intagestory ]; programs.steam = {