diff options
Diffstat (limited to '')
-rw-r--r-- | pkgs/flake.nix | 22 | ||||
-rw-r--r-- | pkgs/overlay.nix | 16 |
2 files changed, 0 insertions, 38 deletions
diff --git a/pkgs/flake.nix b/pkgs/flake.nix deleted file mode 100644 index 81a143fa..00000000 --- a/pkgs/flake.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ - description = "My personal NUR repository"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - outputs = { self, nixpkgs }: - let - systems = [ - "x86_64-linux" - "i686-linux" - "x86_64-darwin" - "aarch64-linux" - "armv6l-linux" - "armv7l-linux" - ]; - forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system); - in - { - legacyPackages = forAllSystems (system: import ./default.nix { - pkgs = import nixpkgs { inherit system; }; - }); - packages = forAllSystems (system: nixpkgs.lib.filterAttrs (_: v: nixpkgs.lib.isDerivation v) self.legacyPackages.${system}); - }; -} diff --git a/pkgs/overlay.nix b/pkgs/overlay.nix deleted file mode 100644 index 14d20fbd..00000000 --- a/pkgs/overlay.nix +++ /dev/null @@ -1,16 +0,0 @@ -# You can use this file as a nixpkgs overlay. This is useful in the -# case where you don't want to add the whole NUR namespace to your -# configuration. -{sysLib}: self: super: let - nameValuePair = n: v: { - name = n; - value = v; - }; - packages = import ./default.nix { - pkgs = super; - inherit sysLib; - }; -in - builtins.listToAttrs - (map (n: nameValuePair n packages.${n}) - (builtins.attrNames packages)) |