mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-10-30 17:32:09 +01:00
20 lines
331 B
Nix
20 lines
331 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
|
||
|
|
findimagedupes
|
||
|
|
jdupes
|
||
|
|
kondo
|
||
|
|
];
|
||
|
|
};
|
||
|
|
}
|