Clean up overlays
This commit is contained in:
parent
07a321c79a
commit
642398da4b
@ -13,4 +13,17 @@
|
|||||||
config.allowUnfree = true;
|
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" ];
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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" ];
|
|
||||||
});
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
{ inputs, ... }:
|
|
||||||
final: prev: {
|
|
||||||
sheet-organizer = inputs.sheet-organizer.packages.${prev.system}.default;
|
|
||||||
music-reader = inputs.music-reader.defaultPackage.${prev.system};
|
|
||||||
}
|
|
@ -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;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user