Everything is working on the bigbox
This commit is contained in:
1 parent
1f8639dda2
commit
0d9d0014f8
8 files changed
+94
-44
No files matched your search
@@ -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
|
||||
[ ]);
|
||||
}
|
||||
Reference in new issue
Block a user