From 6079ccc25a60821a832eff56a62a4d7256dfda04 Mon Sep 17 00:00:00 2001 From: oqyude Date: Sat, 4 Jul 2026 23:29:10 +0300 Subject: [PATCH] nixpkgs unstable set --- configurations/server.nix | 4 ++-- flake.lock | 25 +++++++++++++++++++++---- flake.nix | 1 + modules/server/immich.nix | 4 ++-- 4 files changed, 26 insertions(+), 8 deletions(-) diff --git a/configurations/server.nix b/configurations/server.nix index 6caa828..02d5379 100644 --- a/configurations/server.nix +++ b/configurations/server.nix @@ -85,8 +85,8 @@ let services = { power-profiles-daemon.enable = lib.mkForce false; earlyoom.enable = true; - auto-cpufreq.enable = false; - throttled.enable = true; + auto-cpufreq.enable = true; + throttled.enable = false; journald = { extraConfig = '' SystemMaxUse=512M diff --git a/flake.lock b/flake.lock index 8c56c2d..89c83cd 100644 --- a/flake.lock +++ b/flake.lock @@ -237,13 +237,29 @@ "type": "github" } }, - "nixpkgs_2": { + "nixpkgs-unstable": { "locked": { - "lastModified": 1782959384, - "narHash": "sha256-xnJJk+ct+D2+wdRxj1wk36w5zV9RVESwRqcklPdt3fM=", + "lastModified": 1783279667, + "narHash": "sha256-/NAkDSsve+GNM0Bt6tleJdCGfsTlK89nPjkVOzZMo0s=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "65179426c83bb3f6bc14898b42ea1c6f01d374b0", + "rev": "f205b5574fd0cb7da5b702a2da51507b7f4fdd1b", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1783224372, + "narHash": "sha256-8i/87eeoqiGE4yOTjwSA3Eh/ziJRQEmd/unYU+K27sk=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "d407951447dcd00442e97087bf374aad70c04cea", "type": "github" }, "original": { @@ -311,6 +327,7 @@ "nixpkgs-master": "nixpkgs-master", "nixpkgs-previous": "nixpkgs-previous", "nixpkgs-stable": "nixpkgs-stable", + "nixpkgs-unstable": "nixpkgs-unstable", "plasma-manager": "plasma-manager", "proxy-suite": "proxy-suite", "sops-nix": "sops-nix", diff --git a/flake.nix b/flake.nix index 363b644..8acd5d5 100644 --- a/flake.nix +++ b/flake.nix @@ -7,6 +7,7 @@ # nixpkgs nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; # nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/6b4955211758ba47fac850c040a27f23b9b4008f"; nixpkgs-calibre.url = "github:NixOS/nixpkgs/566acc07c54dc807f91625bb286cb9b321b5f42a"; nixpkgs-previous.url = "github:NixOS/nixpkgs/3497aa5c9457a9d88d71fa93a4a8368816fbeeba"; diff --git a/modules/server/immich.nix b/modules/server/immich.nix index be2d43d..21c6609 100644 --- a/modules/server/immich.nix +++ b/modules/server/immich.nix @@ -7,7 +7,7 @@ ... }: let - master = import inputs.nixpkgs-master { + new = import inputs.nixpkgs-unstable { system = "x86_64-linux"; }; in @@ -15,7 +15,7 @@ in services = { immich = { enable = true; - # package = master.immich; + package = new.immich; port = 2283; host = "0.0.0.0"; openFirewall = true;