FINALLY FIX GPARTED
This commit is contained in:
20
overlays/gparted-xhost/default.nix
Normal file
20
overlays/gparted-xhost/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
# 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" ];
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user