diff --git a/overlays/default.nix b/overlays/default.nix index 7f08181..34deb84 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -13,4 +13,17 @@ config.allowUnfree = true; }; }; + + input-flake-packages = final: prev: { + sheet-organizer = inputs.sheet-organizer.packages.${prev.system}.default; + music-reader = inputs.music-reader.defaultPackage.${prev.system}; + }; + + # Makes gparted actually open + gparted-xhost = self: super: { + gparted-xhost = super.gparted.overrideAttrs (oldAttrs: { + configureFlags = oldAttrs.configureFlags ++ [ "--enable-xhost-root" ]; + }); + }; + } diff --git a/overlays/gparted-xhost/default.nix b/overlays/gparted-xhost/default.nix deleted file mode 100644 index 48a4e2d..0000000 --- a/overlays/gparted-xhost/default.nix +++ /dev/null @@ -1,20 +0,0 @@ -# Snowfall Lib provides access to additional information via a primary argument of -# your overlay. -{ - # Channels are named after NixPkgs instances in your flake inputs. For example, - # with the input `nixpkgs` there will be a channel available at `channels.nixpkgs`. - # These channels are system-specific instances of NixPkgs that can be used to quickly - # pull packages into your overlay. - channels, - - # Inputs from your flake. - inputs, - ... -}: - -# Makes gparted actually open -self: super: { - gparted-xhost = super.gparted.overrideAttrs (oldAttrs: { - configureFlags = oldAttrs.configureFlags ++ [ "--enable-xhost-root" ]; - }); -} diff --git a/overlays/input-flake-packages/default.nix b/overlays/input-flake-packages/default.nix deleted file mode 100644 index 122c690..0000000 --- a/overlays/input-flake-packages/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ inputs, ... }: -final: prev: { - sheet-organizer = inputs.sheet-organizer.packages.${prev.system}.default; - music-reader = inputs.music-reader.defaultPackage.${prev.system}; -} diff --git a/overlays/unstable/default.nix b/overlays/unstable/default.nix deleted file mode 100644 index 106dab3..0000000 --- a/overlays/unstable/default.nix +++ /dev/null @@ -1,19 +0,0 @@ -# Snowfall Lib provides access to your current Nix channels and inputs. -# -# Channels are named after NixPkgs instances in your flake inputs. For example, -# with the input `nixpkgs` there will be a channel available at `channels.nixpkgs`. -# These channels are system-specific instances of NixPkgs that can be used to quickly -# pull packages into your overlay. -# -# All other arguments for this function are your flake inputs. -{ nixpkgs, nixpkgs-unstable, ... }: -final: prev: { - unstable = import nixpkgs-unstable { - system = prev.system; - config.allowUnfree = true; - }; - stable = import nixpkgs { - system = prev.system; - config.allowUnfree = true; - }; -}