diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-06-06 19:55:55 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-06-06 19:56:06 +0200 |
| commit | f0c954201c339e78742a1d91ac31b61c08cf37d8 (patch) | |
| tree | 83a738b0191b818d7ede1d4f9a56ef2718df60b8 | |
| parent | e0def1ed8657c2289493b77fcc06f54f0dfe1fae (diff) | |
update flake
| -rw-r--r-- | flake.lock | 6 | ||||
| -rw-r--r-- | flake.nix | 49 |
2 files changed, 28 insertions, 27 deletions
@@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1726463316, - "narHash": "sha256-gI9kkaH0ZjakJOKrdjaI/VbaMEo9qBbSUl93DnU7f4c=", + "lastModified": 1780243769, + "narHash": "sha256-x5UQuRsH3MqI0U9afaXSNqzTPSeZlRLvFAav2Ux1pNw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "99dc8785f6a0adac95f5e2ab05cc2e1bf666d172", + "rev": "331800de5053fcebacf6813adb5db9c9dca22a0c", "type": "github" }, "original": { @@ -1,30 +1,31 @@ { - description = "Wofi Pass"; + description = "Wofi Pass"; - inputs = { - nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; - }; + inputs = { + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + }; - outputs = - { self, nixpkgs }: - let - pkgs = import nixpkgs { system = "x86_64-linux"; }; - in - { - packages.x86_64-linux.default = pkgs.stdenv.mkDerivation { - name = "wofi-pass"; - src = self; - installPhase = "mkdir -p $out/bin; install -t $out/bin wofi-pass"; - }; + outputs = + { self, nixpkgs }: + let + localSystem = { system = "x86_64-linux"; }; + pkgs = import nixpkgs { inherit localSystem; }; + in + { + packages.x86_64-linux.default = pkgs.stdenv.mkDerivation { + name = "wofi-pass"; + src = self; + installPhase = "mkdir -p $out/bin; install -t $out/bin wofi-pass"; + }; - overlays.default = final: prev: { inherit (self.packages.${prev.system}) wofi-pass; }; + overlays.default = final: prev: { inherit (self.packages.${prev.system}) wofi-pass; }; - nixosModules.default = - { pkgs, ... }: - { - config = { - environment.systemPackages = [ self.packages.${pkgs.system}.default ]; - }; - }; - }; + nixosModules.default = + { pkgs, ... }: + { + config = { + environment.systemPackages = [ self.packages.${pkgs.system}.default ]; + }; + }; + }; } |