mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 02:50:41 +00:00
Add docker
This commit is contained in:
parent
b8ae87b938
commit
618144c7ac
4 changed files with 30 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
|||
{lib, ...}:
|
||||
with lib; let
|
||||
inherit (lib) mkOption;
|
||||
{lib, ...}: let
|
||||
inherit (lib) mkOption mkEnableOption types;
|
||||
in {
|
||||
imports = [
|
||||
./boot
|
||||
|
@ -21,5 +20,14 @@ in {
|
|||
sound = {
|
||||
enable = mkEnableOption "sound related programs and audio-dependent programs";
|
||||
};
|
||||
|
||||
docker = {
|
||||
enable = mkEnableOption "docker virtualisation platform";
|
||||
data-root = mkOption {
|
||||
type = types.str;
|
||||
description = "Path to the directory where docker data should be stored";
|
||||
default = "/var/lib/docker";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue