flake: migrate users/profiles -> users/modules
This commit is contained in:
parent
85fb3f8251
commit
e50310eb80
36 changed files with 46 additions and 79 deletions
22
users/modules/global/mpd.nix
Normal file
22
users/modules/global/mpd.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services = {
|
||||
mpd = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "PipeWire Sound Server"
|
||||
}
|
||||
'';
|
||||
};
|
||||
mpd-mpris.enable = true;
|
||||
mpris-proxy.enable = true;
|
||||
playerctld.enable = true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
playerctl
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue