This commit is contained in:
iFargle 2024-02-09 23:14:24 +09:00
parent 6be1a4a516
commit 11684f8883
2 changed files with 9 additions and 3 deletions

View file

@ -52,12 +52,18 @@
hostPlatform = system; hostPlatform = system;
}; };
pkgs-unstable = import inputs.nixpkgs-unstable { add-unstable-packages = final: _prev: {
unstable = import nixpkgs-unstable {
inherit system; inherit system;
config.allowUnfree = unfree; config.allowUnfree = unfree;
hostPlatform = system; hostPlatform = system;
};
}; };
nixpkgs.overlays = [
add-unstable-packages
];
modules = [ modules = [
# Types are 'default', 'small', and 'minimal' # Types are 'default', 'small', and 'minimal'
../nixos/${type}.nix ../nixos/${type}.nix

View file

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