- Fighter uses: system, git, sops, docker, networking, and iscsi modules; plus its own stacks module which we've updated to use the new design concept. - I can't figure out how to put all of the module code together (importing and defining the vars), so we're compromising.
10 lines
307 B
Nix
10 lines
307 B
Nix
{ docker, pkgs, ... }: {
|
|
virtualisation.docker = {
|
|
enable = true;
|
|
daemon.settings.data-root = "/docker";
|
|
rootless.enable = false;
|
|
rootless.setSocketVariable = true;
|
|
};
|
|
users.users.${docker.username}.extraGroups = [ "docker" ];
|
|
environment.systemPackages = [ pkgs.docker-compose ];
|
|
} |