added unfree pkgs module arg and fixed steam
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user