feat: add gparted agent
This commit is contained in:
parent
4bdd918479
commit
8342fcecce
2 changed files with 24 additions and 0 deletions
|
|
@ -8,5 +8,6 @@
|
||||||
./flatpak.nix
|
./flatpak.nix
|
||||||
./wireshark.nix
|
./wireshark.nix
|
||||||
./gpg.nix
|
./gpg.nix
|
||||||
|
./gparted.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
23
Modules/System/Application/Special-Applications/gparted.nix
Normal file
23
Modules/System/Application/Special-Applications/gparted.nix
Normal file
|
|
@ -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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue