Reorganize repository
This commit is contained in:
parent
da1824edb6
commit
0fc6c32a47
124 changed files with 16295 additions and 1229 deletions
|
@ -1,20 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
options.chvp.docker.enable = lib.mkOption {
|
||||
default = false;
|
||||
example = true;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.chvp.docker.enable {
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
extraOptions = "--data-root ${config.chvp.dataPrefix}/var/lib/docker";
|
||||
storageDriver = lib.mkIf config.chvp.zfs.enable "zfs";
|
||||
};
|
||||
|
||||
environment.systemPackages = [ pkgs.docker-compose ];
|
||||
|
||||
users.users.charlotte.extraGroups = [ "docker" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue