[packages] add podman
This commit is contained in:
parent
d624368e38
commit
1c396fef1c
@ -12,7 +12,7 @@
|
||||
./security.nix
|
||||
./simon.nix
|
||||
./sound.nix
|
||||
./virt-manager.nix
|
||||
./virtualisation.nix
|
||||
];
|
||||
|
||||
# system state version
|
||||
|
@ -51,8 +51,11 @@
|
||||
bat
|
||||
unstable.clipse
|
||||
cmatrix
|
||||
distrobox
|
||||
git
|
||||
screen
|
||||
podman
|
||||
podman-compose
|
||||
vim
|
||||
wget
|
||||
|
||||
|
@ -1,7 +0,0 @@
|
||||
{ config, pkgs, ... }: {
|
||||
|
||||
# setup virt-manager
|
||||
virtualisation.libvirtd.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
}
|
21
nix/systems/virtualisation.nix
Normal file
21
nix/systems/virtualisation.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ config, pkgs, ... }: {
|
||||
|
||||
# setup virt-manager
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
# virtualistation
|
||||
virtualisation = {
|
||||
|
||||
# libvirtd
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# podman
|
||||
podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user