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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1761656231, "lastModified": 1768395095,
"narHash": "sha256-krgZxGAIIIKFJS+UB0l8do3sYUDWJc75M72tepmVMzE=", "narHash": "sha256-ZhuYJbwbZT32QA95tSkXd9zXHcdZj90EzHpEXBMabaw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d7f52a7a640bc54c7bb414cca603835bf8dd4b10", "rev": "13868c071cc73a5e9f610c47d7bb08e5da64fdd5",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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