update music module

This commit is contained in:
Max Känner 2024-12-28 22:41:12 +01:00
parent 02d570f13d
commit 48c4a9a147
2 changed files with 9 additions and 20 deletions

View File

@ -4,26 +4,18 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
home-manager = { home-manager.url = "github:nix-community/home-manager/release-24.11";
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = { sops-nix.url = "github:Mic92/sops-nix";
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
musnix = { musnix.url = "github:musnix/musnix";
url = "github:musnix/musnix";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { outputs = {
nixpkgs, nixpkgs,
home-manager, home-manager,
sops-nix, sops-nix,
musnix,
... ...
} @ inputs: let } @ inputs: let
system = "x86_64-linux"; system = "x86_64-linux";
@ -54,7 +46,7 @@
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
} }
inputs.musnix.nixosModules.musnix musnix.nixosModules.musnix
]; ];
}; };
}; };

View File

@ -1,7 +1,6 @@
{ {
lib, lib,
config, config,
pkgs,
... ...
}: let }: let
cfg = config.myConfig.music; cfg = config.myConfig.music;
@ -11,12 +10,10 @@ in {
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# musnix = { musnix = {
# enable = true; enable = true;
# rtcqs.enable = true; rtcqs.enable = true;
# kernel.realtime = true; };
# kernel.packages = pkgs.linuxPackages-rt_latest;
# };
users.users.max.extraGroups = ["audio"]; users.users.max.extraGroups = ["audio"];
services.pipewire = { services.pipewire = {