bump nixpkgs

This commit is contained in:
2026-01-15 11:35:36 +07:00
parent a37a0cc7d1
commit f3d282b763
7 changed files with 21 additions and 18 deletions

View File

@@ -113,19 +113,22 @@
services.mpd = {
enable = true;
musicDirectory = settings.baseDir;
network.listenAddress = "any";
extraConfig = ''
audio_output {
type "pulse"
name "jukebox"
server "localhost"
}
'';
openFirewall = true;
settings = {
bind_to_address = "any";
music_directory = settings.baseDir;
audio_output = [
{
type = "pulse";
name = "jukebox";
server = "localhost";
}
];
};
};
networking.firewall.interfaces = lib.genAttrs settings.binds (_: {
allowedTCPPorts = [ config.services.mpd.network.port ];
allowedTCPPorts = [ config.services.mpd.settings.port ];
});
environment.systemPackages = [ pkgs.mpc ];

View File

@@ -57,7 +57,7 @@ in
dataDir = lib.mkOption {
type = lib.types.path;
default = "/var/lib/think-backend.greaterchiangmai.com";
description = ''A place where to store states'';
description = "A place where to store states";
};
user = lib.mkOption {

View File

@@ -33,7 +33,7 @@ in
dataDir = lib.mkOption {
type = lib.types.path;
default = "/var/lib/think.greaterchiangmai.com";
description = ''A place where to store states'';
description = "A place where to store states";
};
user = lib.mkOption {