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

6
flake.lock generated
View File

@@ -225,11 +225,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1761656231,
"narHash": "sha256-krgZxGAIIIKFJS+UB0l8do3sYUDWJc75M72tepmVMzE=",
"lastModified": 1768395095,
"narHash": "sha256-ZhuYJbwbZT32QA95tSkXd9zXHcdZj90EzHpEXBMabaw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d7f52a7a640bc54c7bb414cca603835bf8dd4b10",
"rev": "13868c071cc73a5e9f610c47d7bb08e5da64fdd5",
"type": "github"
},
"original": {

View File

@@ -19,7 +19,7 @@ in
services.nextcloud = {
hostName = ncDomain;
package = pkgs.nextcloud31;
package = pkgs.nextcloud32;
settings = {

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 {

View File

@@ -28,5 +28,5 @@ php.buildComposerProject2 (finalAttrs: {
'';
composerStrictValidation = false;
vendorHash = "sha256-eXm1x3E9KHWojaT2RU4inMdZqQVcWdLCKlvzhOlIZrc=";
vendorHash = "sha256-wGfbprSDULBje1s5y3+ZiU/nCwYGDEULobZzyzGZ9bQ=";
})

View File

@@ -28,5 +28,5 @@ php.buildComposerProject2 (finalAttrs: {
'';
composerStrictValidation = false;
vendorHash = "sha256-QV3hR3U3GwCqrCRxfkazmJwDpO1vFyMfA6YqUb4bjMI=";
vendorHash = "sha256-b8+AKUmjQiOdV8UC9GYfJzAHFs9+FRSH91YsxKt0rDA=";
})