From 29058395094d9616970ddfbbb418125103d032bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= Date: Mon, 16 Mar 2026 16:43:59 -0600 Subject: [PATCH 1/2] refactor(bepasty): no with lib --- modules/nixos/deertopia/bepasty.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/nixos/deertopia/bepasty.nix b/modules/nixos/deertopia/bepasty.nix index 9a62e3a..b796e9c 100644 --- a/modules/nixos/deertopia/bepasty.nix +++ b/modules/nixos/deertopia/bepasty.nix @@ -1,12 +1,10 @@ { config, lib, pkgs, ... }: -with lib; - let cfg = config.sydnix.deertopia.bepasty; in { options = { sydnix.deertopia.bepasty = { - enable = mkEnableOption "Bepasty"; + enable = lib.mkEnableOption "Bepasty"; port = lib.mkOption { default = 22018; @@ -19,7 +17,7 @@ in { }; }; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { sydnix.sops.secrets.bepasty-secret-key = {}; sydnix.sops.secrets.bepasty-secret-config = {}; -- 2.53.0 From 0cbade937ae142f04a929e6d8360f99c6dccea0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= Date: Mon, 16 Mar 2026 16:47:30 -0600 Subject: [PATCH 2/2] fix(bepasty): workaround for nixpkgs#500538 https://github.com/NixOS/nixpkgs/pull/500538 --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 89858a2..1001f56 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,9 @@ inputs = { disko.url = "github:nix-community/disko"; - nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + # nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + # Waiting on https://github.com/NixOS/nixpkgs/pull/500538 + nixpkgs.url = "github:msyds/nixpkgs/fix-bepasty"; impermanence.url = "github:nix-community/impermanence"; home-manager.url = "github:nix-community/home-manager"; sops-nix.url = "github:Mic92/sops-nix"; -- 2.53.0