From c3ccccd94854ba9edcdf650ff34d3c3d43c51107 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Fri, 29 May 2026 22:27:34 +0900 Subject: [PATCH] flake.nix: add nix package --- flake.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/flake.nix b/flake.nix index 4c0580c..5b4ce85 100644 --- a/flake.nix +++ b/flake.nix @@ -22,5 +22,20 @@ ]; }; }); + + packages = forAllSystems (_: pkgs: { + default = lib.pipe ./main.py [ + lib.readFile + (lib.splitString "\n") + lib.tail + (lib.concatStringsSep "\n") + (pkgs.writers.writePython3Bin "passwd2systemd-users" { + libraries = with pkgs.python3Packages; [ ]; + flakeIgnore = [ + "E501" # I absolutely love and adore long lines, please let every single line be above 80 characters please + ]; + }) + ]; + }); }; }