diff --git a/lib/default.nix b/lib/default.nix index d60bca52..709a568c 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -50,6 +50,11 @@ config.allowUnfree = unfree; hostPlatform = system; }; + unstable-pkgs = 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 eeeda760..3c7ff318 100644 --- a/nixos/users/albert/desktop.nix +++ b/nixos/users/albert/desktop.nix @@ -1,11 +1,11 @@ -{ config, lib, pkgs, pkgs-unstable, desktop, inputs, system, ... }: { +{ config, lib, pkgs, nixpkgs-unstable, desktop, inputs, system, ... }: { # Steam, Vintage Story areu nfree. environment.systemPackages = [ pkgs.bitwarden pkgs.steam pkgs.lutris pkgs.vlc - inputs.nixpkgs-unstable.legacyPackages.${system}.vintagestory { allowUnfree = true; } + inputs.nixpkgs-unstable.legacyPackages.${system}.vintagestory ]; programs.steam = {