added unfree pkgs module arg and fixed steam

This commit is contained in:
2026-07-10 17:34:43 +01:00
parent 9dab291884
commit b0f1bc9ee0
2 changed files with 13 additions and 16 deletions

View File

@@ -1,10 +1,9 @@
{ {moduleWithSystem, ...}: {
moduleWithSystem,
...
}: {
flake.nixosModules.steam = moduleWithSystem ({ flake.nixosModules.steam = moduleWithSystem ({
pkgs, pkgs,
unfreePkgs,
inputs', inputs',
lib,
... ...
}: { }: {
# If buying isn't owning than piracy isn't stealing # If buying isn't owning than piracy isn't stealing
@@ -17,7 +16,7 @@
extraCompatPackages = with pkgs; [ extraCompatPackages = with pkgs; [
proton-ge-bin proton-ge-bin
]; ];
package = pkgs.steam.override { package = unfreePkgs.steam.override {
extraEnv = { extraEnv = {
LD_AUDIT = "${ LD_AUDIT = "${
inputs'.sls-steam.packages.sls-steam inputs'.sls-steam.packages.sls-steam

View File

@@ -1,13 +1,11 @@
{ {inputs, ...}: {
self, perSystem = {system, ...}: {
inputs, _module.args.unfreePkgs = import inputs.nixpkgs {
... inherit system;
}: { config.allowUnfree = true;
flake.nixosModules.nix = { };
pkgs, };
lib, flake.nixosModules.nix = {...}: {
...
}: {
nix = { nix = {
registry = { registry = {
voidarc = { voidarc = {