attempt to fix recursion
This commit is contained in:
parent
dce74fefdf
commit
36a719b7c5
2 changed files with 4 additions and 6 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue