1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00

containerization & virtualization update

Checklog:
 - Switched from `Docker` to `Podman`
 - Added `podman-tui` and `podman-compose` to packages
 - Added rootless nix code snippet for `Docker`
 - Added `distrobox` and `qemu` to packages
 - Added `tgpt` to packages
This commit is contained in:
xnm
2023-11-25 20:24:23 +02:00
parent c69e5c8be3
commit 83316f40f7
2 changed files with 31 additions and 3 deletions

View File

@@ -391,8 +391,26 @@
# Enable CUPS to print documents.
# services.printing.enable = true;
# Enable docker
virtualisation.docker.enable = true;
# Enable container manager
# Enable Docker
# virtualisation.docker.enable = true;
# virtualisation.docker.rootless = {
# enable = true;
# setSocketVariable = true;
# };
# users.extraGroups.docker.members = [ "xnm" ];
# Enable Podman
virtualisation = {
podman = {
enable = true;
# Create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
};
# Enable sound with pipewire.
sound.enable = true;
@@ -416,7 +434,7 @@
users.users.xnm = {
isNormalUser = true;
description = "xnm";
extraGroups = [ "networkmanager" "input" "wheel" "video" "audio" "docker" "tss" ];
extraGroups = [ "networkmanager" "input" "wheel" "video" "audio" "tss" ];
shell = pkgs.fish;
packages = with pkgs; [
spotify
@@ -512,6 +530,9 @@
git-ignore
just
xh
tgpt
distrobox
qemu
wezterm
cool-retro-term
# mcfly # terminal history
@@ -552,6 +573,9 @@
felix-fm
chafa
podman-compose
podman-tui
lazydocker
lazygit
neofetch