mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 01:44:40 +02:00
23 lines
318 B
Nix
23 lines
318 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.my.profiles.clean;
|
|
in
|
|
{
|
|
options.my.profiles.clean = with lib; {
|
|
enable = mkEnableOption "clean profile";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
baobab
|
|
dupeguru
|
|
jdupes
|
|
kondo
|
|
];
|
|
};
|
|
}
|