nixos/modules/system/services/distrobox.nix
Florian RICHER a425abee8b
All checks were successful
check / check (push) Successful in 32s
Refactor: Avoid use folder for one file
Fix #3
2025-01-29 21:48:43 +01:00

17 lines
No EOL
387 B
Nix

{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.modules.system.services.distrobox;
in
{
options.modules.system.services.distrobox = {
enable = mkEnableOption ''
Enable distrobox with my custom configurations
'';
};
config = mkIf cfg.enable {
modules.system.services.docker.enable = true;
environment.systemPackages = with pkgs; [ distrobox ];
};
}