Compare commits
3 Commits
00ade68908
...
08306b4749
Author | SHA1 | Date |
---|---|---|
coolneng | 08306b4749 | |
coolneng | 112595d12c | |
coolneng | 7a2de994d3 |
12
flake.lock
12
flake.lock
|
@ -66,11 +66,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1678900860,
|
"lastModified": 1679224439,
|
||||||
"narHash": "sha256-whR4CNeKaXFi2o+oZBj7o4bV+sw8fAHW9s1Dk+JPZU0=",
|
"narHash": "sha256-QkvcuC4b67FUkkxlMsLTMPbwoD7yZr0UvJpu6jkFuLo=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "fb4949a2ddf4dcfb53c0eaf01334522309045471",
|
"rev": "2f5e6e915d70c04d673a8930f94591595c73eb84",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -81,11 +81,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1679437018,
|
"lastModified": 1679944645,
|
||||||
"narHash": "sha256-vOuiDPLHSEo/7NkiWtxpHpHgoXoNmrm+wkXZ6a072Fc=",
|
"narHash": "sha256-e5Qyoe11UZjVfgRfwNoSU57ZeKuEmjYb77B9IVW7L/M=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "19cf008bb18e47b6e3b4e16e32a9a4bdd4b45f7e",
|
"rev": "4bb072f0a8b267613c127684e099a70e1f6ff106",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -38,17 +38,19 @@ in {
|
||||||
};
|
};
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
wireplumber.enable = true;
|
wireplumber.enable = true;
|
||||||
config.pipewire-pulse = let
|
|
||||||
defaultConf = lib.importJSON
|
|
||||||
"${inputs.nixpkgs}/nixos/modules/services/desktops/pipewire/daemon/pipewire-pulse.conf.json";
|
|
||||||
in lib.recursiveUpdate defaultConf {
|
|
||||||
"pulse.properties" = {
|
|
||||||
"server.address" = [ "unix:native" "tcp:127.0.0.1:4713" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
|
# Enable pipewire-pulse's audio via TCP
|
||||||
|
environment.etc."pipewire/pipewire-pulse.conf.d/pulse-server.conf".text = ''
|
||||||
|
pulse.properties: {
|
||||||
|
server.address: [
|
||||||
|
unix:native,
|
||||||
|
tcp:127.0.0.1:4713
|
||||||
|
]
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
|
||||||
# Set up Mopidy
|
# Set up Mopidy
|
||||||
services.mopidy = {
|
services.mopidy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in New Issue