FINALLY FIX GPARTED
This commit is contained in:
parent
98644d2e2f
commit
e19a2e81cd
@ -58,7 +58,6 @@ with pkgs;
|
||||
gcolor2 # gcolor3 does not work
|
||||
# cups
|
||||
wget
|
||||
gparted
|
||||
nodejs
|
||||
git
|
||||
dotter
|
||||
|
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" ];
|
||||
});
|
||||
}
|
@ -269,6 +269,7 @@
|
||||
xorg.xhost
|
||||
kdePackages.qtwayland
|
||||
frajul.pulseaudio-popup
|
||||
gparted-xhost # needs to be installed as system package so it can be actually opened
|
||||
];
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user