bumped sources + fixed authelia patches for updates

This commit is contained in:
eyjhb 2025-03-01 08:57:59 +01:00
parent 9196021d2f
commit aeb1866415
Signed by: eyjhb
GPG key ID: 609F508E3239F920
3 changed files with 7 additions and 31 deletions

View file

@ -11,7 +11,7 @@ in {
services.authelia.instances.main = {
enable = true;
package = pkgs.authelia.override {
web = pkgs.authelia.passthru.web.overrideAttrs (old: {
authelia-web = pkgs.authelia.passthru.web.overrideAttrs (old: {
postPatch = old.postPatch + ''
substituteInPlace src/views/LoginPortal/FirstFactor/FirstFactorForm.tsx \
--replace-fail "const [rememberMe, setRememberMe] = useState(false)" "const [rememberMe, setRememberMe] = useState(true)"

View file

@ -18,30 +18,6 @@ in sources // {
# url = "https://github.com/NixOS/nixpkgs/pull/353360.patch";
# sha256 = "sha256-WPNnvVmtySyEk58kVIYWVx3VN8MhX4v2ITLLnUGhpz4=";
# })
(pkgs.writeText "authelia.patch" ''
diff --git a/pkgs/servers/authelia/default.nix b/pkgs/servers/authelia/default.nix
index 2c49c09b0550..35f0827f89d7 100644
--- a/pkgs/servers/authelia/default.nix
+++ b/pkgs/servers/authelia/default.nix
@@ -7,6 +7,7 @@
installShellFiles,
callPackage,
nixosTests,
+ web ? callPackage ./web.nix { inherit nodejs pnpm fetchFromGitHub; },
}:
let
@@ -16,7 +17,7 @@ let
src
vendorHash
;
- web = callPackage ./web.nix { inherit nodejs pnpm fetchFromGitHub; };
+ # web = callPackage ./web.nix { inherit nodejs pnpm fetchFromGitHub; };
in
buildGoModule rec {
inherit
'')
];
};
}

View file

@ -17,10 +17,10 @@
"homepage": "",
"owner": "nix-community",
"repo": "disko",
"rev": "18d0a984cc2bc82cf61df19523a34ad463aa7f54",
"sha256": "02i8sgnjzk4srk4j7qnjzig0rd4ip7a1vpbi5ynaqs1hh56q10r9",
"rev": "19c1140419c4f1cdf88ad4c1cfb6605597628940",
"sha256": "0rlzjdw5l0gcjmh34san0qb25a3xxfcwdh75ppr343nzfrj8zbsq",
"type": "tarball",
"url": "https://github.com/nix-community/disko/archive/18d0a984cc2bc82cf61df19523a34ad463aa7f54.tar.gz",
"url": "https://github.com/nix-community/disko/archive/19c1140419c4f1cdf88ad4c1cfb6605597628940.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"impermanence": {
@ -41,10 +41,10 @@
"homepage": null,
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3a228057f5b619feb3186e986dbe76278d707b6e",
"sha256": "0iqla32cwy147lx1jw84174qkf8jyd912vxqjfgggyil1k8fix66",
"rev": "5135c59491985879812717f4c9fea69604e7f26f",
"sha256": "09qy7zv80bkd9ighsw0bdxjq70dw3qjnyvg7il1fycrsgs5x1gan",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/3a228057f5b619feb3186e986dbe76278d707b6e.tar.gz",
"url": "https://github.com/NixOS/nixpkgs/archive/5135c59491985879812717f4c9fea69604e7f26f.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}
}