nixos/modules/system/services/distrobox/default.nix
Florian RICHER c8d1f9f65a
All checks were successful
check / check (push) Successful in 34s
Refactor: Rename system.server -> system.services
Fix #6
2025-01-29 20:05:56 +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 ];
};
}