reenabled docker and winboat for clhickey-nixos

This commit is contained in:
Clayton Hickey 2025-10-30 14:05:31 -04:00
parent f04b6025d6
commit 946fb550e9
4 changed files with 20 additions and 5 deletions

15
docker.nix Normal file
View file

@ -0,0 +1,15 @@
{ lib, config, ... }:
let cfg = config.cos.docker; in
{
options.cos.docker = {
enable = lib.mkEnableOption "Enable Docker";
};
config = lib.mkIf cfg.enable {
virtualisation.docker.enable = true;
users.users.${config.cos.username}.extraGroups = [
"docker"
];
};
}