Refactor: Rename system.server -> system.services
All checks were successful
check / check (push) Successful in 34s
All checks were successful
check / check (push) Successful in 34s
Fix #6
This commit is contained in:
parent
453f364d4f
commit
c8d1f9f65a
8 changed files with 12 additions and 12 deletions
17
modules/system/services/distrobox/default.nix
Normal file
17
modules/system/services/distrobox/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue