mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-31 09:42:11 +01: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
 | |
|     ];
 | |
|   };
 | |
| }
 | 
