Compare commits

..

3 Commits

Author SHA1 Message Date
coolneng 08306b4749
Move pipewire custom settings to /etc/pipewire 2023-03-28 23:07:48 +02:00
coolneng 112595d12c
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8f40f2f90b9c9032d1b824442cfbbe0dbabd0dbd' (2023-03-25)
  → 'github:NixOS/nixpkgs/4bb072f0a8b267613c127684e099a70e1f6ff106' (2023-03-27)
2023-03-28 14:03:28 +02:00
coolneng 7a2de994d3
flake.lock: Update
Flake lock file updates:

• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/fb4949a2ddf4dcfb53c0eaf01334522309045471' (2023-03-15)
  → 'github:Mic92/nix-index-database/2f5e6e915d70c04d673a8930f94591595c73eb84' (2023-03-19)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/19cf008bb18e47b6e3b4e16e32a9a4bdd4b45f7e' (2023-03-21)
  → 'github:NixOS/nixpkgs/8f40f2f90b9c9032d1b824442cfbbe0dbabd0dbd' (2023-03-25)
2023-03-26 04:50:52 +02:00
2 changed files with 16 additions and 14 deletions

View File

@ -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": {

View File

@ -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;