main @ 21 LINES
[ HISTORY ] [ UP ]
┌─ NIX ──────────────────────────────────────────────────────────────────────┐
│ { │
│ config, │
│ lib, │
│ ... │
│ }: let │
│ inherit (lib) mkIf; │
│ cfg = config.ooknet.virtualization.host.containers; │
│ in { │
│ config = mkIf cfg.enable { │
│ virtualisation.containers.enable = true; │
│ │
│ virtualisation.docker = { │
│ enable = true; │
│ rootless = { │
│ enable = true; │
│ setSocketVariable = true; │
│ }; │
│ }; │
│ }; │
│ } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ NIX ────────────────────────────────┐
│ { │
│ config, │
│ lib, │
│ ... │
│ }: let │
│ inherit (lib) mkIf; │
│ cfg = config.ooknet.virtualization.host.co │
│ ntainers; │
│ in { │
│ config = mkIf cfg.enable { │
│ virtualisation.containers.enable = true; │
│ │
│ virtualisation.docker = { │
│ enable = true; │
│ rootless = { │
│ enable = true; │
│ setSocketVariable = true; │
│ }; │
│ }; │
│ }; │
│ } │
└──────────────────────────────────────────────┘
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET