From bb6a69d377d2d37101c8d3ace72e56c4d813297e Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 9 Feb 2024 22:32:55 +0900 Subject: [PATCH] test --- lib/default.nix | 5 +++++ nixos/users/albert/desktop.nix | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 = {