Nyx-Modules/Modules/System/Application/Special-Applications/gparted.nix
2025-09-29 16:26:28 +02:00

23 lines
449 B
Nix

# 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
];
};
}