diff --git a/Modules/System/Application/Special-Applications/default.nix b/Modules/System/Application/Special-Applications/default.nix index 55eed32..d1bd2a5 100644 --- a/Modules/System/Application/Special-Applications/default.nix +++ b/Modules/System/Application/Special-Applications/default.nix @@ -8,5 +8,6 @@ ./flatpak.nix ./wireshark.nix ./gpg.nix + ./gparted.nix ]; } diff --git a/Modules/System/Application/Special-Applications/gparted.nix b/Modules/System/Application/Special-Applications/gparted.nix new file mode 100644 index 0000000..6fce3e0 --- /dev/null +++ b/Modules/System/Application/Special-Applications/gparted.nix @@ -0,0 +1,23 @@ +# GParted (System Module) +# +# Provides: +# - GParted installation (GUI partition editor) +# +# Options: +# - enable -> Enable GParted system module +# +{ config, lib, pkgs, ... }: + +let + cfg = config.nyx-module.system.gparted; +in { + options.nyx-module.system.gparted = { + enable = lib.mkEnableOption "Enable GParted (system module)"; + }; + + config = lib.mkIf cfg.enable { + environment.systemPackages = with pkgs; [ + gparted + ]; + }; +}