refactor(docker podman): better docker and podman configuration
This commit is contained in:
parent
f810e561fa
commit
7899f32aba
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
@ -14,6 +15,9 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
environment.systemPackages = mkIf cfg.podman.enable [
|
||||||
|
pkgs.podman-desktop
|
||||||
|
];
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
docker = mkIf (cfg.enable && !cfg.podman.enable) {
|
docker = mkIf (cfg.enable && !cfg.podman.enable) {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -74,8 +74,6 @@ with lib; {
|
|||||||
dive # A tool for exploring each layer in a docker image
|
dive # A tool for exploring each layer in a docker image
|
||||||
grype # Vulnerability scanner for container images and filesystems
|
grype # Vulnerability scanner for container images and filesystems
|
||||||
kicad # Working on my custom keyboard
|
kicad # Working on my custom keyboard
|
||||||
podman-desktop
|
|
||||||
podman-compose
|
|
||||||
tectonic # better LaTeX engine
|
tectonic # better LaTeX engine
|
||||||
virt-manager
|
virt-manager
|
||||||
zeal
|
zeal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user