FINALLY FIX GPARTED

This commit is contained in:
Julian Mutter 2024-06-14 09:46:01 +02:00
parent 98644d2e2f
commit e19a2e81cd
3 changed files with 21 additions and 1 deletions

View File

@ -58,7 +58,6 @@ with pkgs;
gcolor2 # gcolor3 does not work
# cups
wget
gparted
nodejs
git
dotter

View 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" ];
});
}

View File

@ -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;