attempt to fix recursion

This commit is contained in:
LordGrimmauld 2024-03-16 16:23:57 +01:00
parent dce74fefdf
commit 36a719b7c5
2 changed files with 4 additions and 6 deletions

View file

@ -15,7 +15,6 @@
};
outputs = inputs @ { self, utils, nixpkgs, nix-gaming, ... }: let
inherit inputs;
lib = nixpkgs.lib;
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
@ -23,7 +22,10 @@
nixosModules = rec {
default = grimmShared;
grimmShared = {
imports = [./.];
imports = [
./.
inputs.nix-gaming.nixosModules.pipewireLowLatency
];
_module.args.grimm-shared-inputs = inputs;
};
};

View file

@ -1,10 +1,6 @@
{ grimm-shared-inputs, pkgs, config, lib, ... }: let
cfg = config.grimmShared;
in {
imports = [
grimm-shared-inputs.nix-gaming.nixosModules.pipewireLowLatency
];
config = with cfg; lib.mkIf (enable && sound) {
sound.enable = true;
hardware.pulseaudio.enable = false;