From bb66f42e221ee6aed2ef2588781774c7f620e90e Mon Sep 17 00:00:00 2001 From: phluxjr Date: Sun, 3 May 2026 17:59:39 -0500 Subject: [PATCH] JUST REALIZED I NEVER PUSHED THE NIX FLAKE --- flake.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..e91c127 --- /dev/null +++ b/flake.nix @@ -0,0 +1,25 @@ +{ + description = "a config manager for linux/unix systems"; + + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + + outputs = { self, nixpkgs }: let + systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; + forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system}); + in { + packages = forAllSystems (pkgs: { + default = pkgs.python3Packages.buildPythonApplication { + pname = "confy-tui"; + version = "2.1.2"; + src = ./.; + format = "pyproject"; + nativeBuildInputs = [ pkgs.python3Packages.hatchling ]; + meta = { + description = "a config manager for linux/unix systems"; + license = pkgs.lib.licenses.gpl3Plus; + mainProgram = "confy"; + }; + }; + }); + }; +}