fix stormd

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-12-28 15:21:19 -06:00
parent 985d584213
commit 1b1bd60f4b
9 changed files with 1296 additions and 28 deletions

20
modules/common/docker.nix Normal file
View file

@ -0,0 +1,20 @@
{
config,
lib,
...
}:
with lib;
let
cfg = config.mods.common;
in
{
config = mkIf cfg.docker {
virtualisation.docker.enable = true;
users.extraGroups.docker.members = [ config.mods.common.primaryUser ];
environment.shellAliases = {
dockerv = "docker volume";
dockeri = "docker image";
dockerc = "docker container";
};
};
}