Everything is working on the bigbox

This commit is contained in:
ari committed 2024-07-19 02:20:11 -04:00
1 parent 1f8639dda2
commit 0d9d0014f8
8 files changed
+94 -44

No files matched your search

+8 -3
View File
@@ -1,11 +1,16 @@
{ user, runtime ? null }:
{ user, runtime ? null, enableOnBoot ? false }:
{ pkgs, ... }: {
virtualisation.containers.enable = true;
environment.systemPackages = with pkgs; [ dive podman-tui ];
environment.systemPackages = with pkgs; [ dive ];
imports = (if runtime == "podman" then
[ (import ./podman.nix { user = user; }) ]
else if runtime == "docker" then
[ (import ./docker.nix { user = user; }) ]
[
(import ./docker.nix {
user = user;
enableOnBoot = enableOnBoot;
})
]
else
[ ]);
}