This commit is contained in:
iFargle 2024-02-09 22:22:39 +09:00
parent 2238cfef42
commit 701e1fcaf5
2 changed files with 5 additions and 11 deletions

View file

@ -43,16 +43,7 @@
type ? "default", type ? "default",
repo ? "nixpkgs", repo ? "nixpkgs",
unfree ? false unfree ? false
}: }: inputs.${repo}.lib.nixosSystem {
let
pkgs-unstable = import inputs.nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
hostPlatform = true;
};
in {
inputs.${repo}.lib.nixosSystem {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; }; specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; };
pkgs = import inputs.${repo} { pkgs = import inputs.${repo} {
inherit system; inherit system;

View file

@ -1,11 +1,14 @@
{ config, lib, pkgs, pkgs-unstable, desktop, inputs, system, ... }: { { config, lib, pkgs, pkgs-unstable, desktop, inputs, system, ... }: {
# Steam, Vintage Story areu nfree. # Steam, Vintage Story areu nfree.
inputs.nixpkgs-unstable.config.allowUnfree = true;
environment.systemPackages = [ environment.systemPackages = [
pkgs.bitwarden pkgs.bitwarden
pkgs.steam pkgs.steam
pkgs.lutris pkgs.lutris
pkgs.vlc pkgs.vlc
pkgs-unstable.intagestory inputs.nixpkgs-unstable.intagestory
]; ];
programs.steam = { programs.steam = {