diff --git a/homes/x86_64-linux/julian@aspi/packages.nix b/homes/x86_64-linux/julian@aspi/packages.nix index 7ffa4cc..ec97910 100644 --- a/homes/x86_64-linux/julian@aspi/packages.nix +++ b/homes/x86_64-linux/julian@aspi/packages.nix @@ -58,7 +58,6 @@ with pkgs; gcolor2 # gcolor3 does not work # cups wget - gparted nodejs git dotter diff --git a/overlays/gparted-xhost/default.nix b/overlays/gparted-xhost/default.nix new file mode 100644 index 0000000..48a4e2d --- /dev/null +++ b/overlays/gparted-xhost/default.nix @@ -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" ]; + }); +} diff --git a/systems/x86_64-linux/aspi/default.nix b/systems/x86_64-linux/aspi/default.nix index 3562648..11f2921 100644 --- a/systems/x86_64-linux/aspi/default.nix +++ b/systems/x86_64-linux/aspi/default.nix @@ -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;