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 ({
pkgs,
pkgs,
unfreePkgs,
inputs',
lib,
...
}: {
# If buying isn't owning than piracy isn't stealing
@@ -17,7 +16,7 @@
extraCompatPackages = with pkgs; [
proton-ge-bin
];
package = pkgs.steam.override {
package = unfreePkgs.steam.override {
extraEnv = {
LD_AUDIT = "${
inputs'.sls-steam.packages.sls-steam

View File

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