From 701e1fcaf5c496c25cd7d1422a51b7983a1b700c Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 9 Feb 2024 22:22:39 +0900 Subject: [PATCH] test --- lib/default.nix | 11 +---------- nixos/users/albert/desktop.nix | 5 ++++- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index cb357a20..5e743b06 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -43,16 +43,7 @@ type ? "default", repo ? "nixpkgs", unfree ? false - }: - let - - pkgs-unstable = import inputs.nixpkgs-unstable { - inherit system; - config.allowUnfree = true; - hostPlatform = true; - }; - in { - inputs.${repo}.lib.nixosSystem { + }: inputs.${repo}.lib.nixosSystem { specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; }; pkgs = import inputs.${repo} { inherit system; diff --git a/nixos/users/albert/desktop.nix b/nixos/users/albert/desktop.nix index f55e0c9c..170ba9f7 100644 --- a/nixos/users/albert/desktop.nix +++ b/nixos/users/albert/desktop.nix @@ -1,11 +1,14 @@ { config, lib, pkgs, pkgs-unstable, desktop, inputs, system, ... }: { # Steam, Vintage Story areu nfree. + + inputs.nixpkgs-unstable.config.allowUnfree = true; + environment.systemPackages = [ pkgs.bitwarden pkgs.steam pkgs.lutris pkgs.vlc - pkgs-unstable.intagestory + inputs.nixpkgs-unstable.intagestory ]; programs.steam = {