[container-dev] Switch to rootless docker. [nvim] Update snacks options. [hyprland] Use clipboard fixes globally

This commit is contained in:
2025-04-30 14:29:31 -07:00
parent 55bd116fde
commit 8884bd51fd
11 changed files with 51 additions and 59 deletions

View File

@@ -0,0 +1,17 @@
{ ... }:
{
virtualisation = {
docker = {
enable = true;
rootless.enable = true;
};
};
home-manager.users.drew = { ... }:
{
# Add the path to the docker socket to the environment.
programs.zsh.profileExtra = ''
export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
'';
};
}

View File

@@ -26,4 +26,12 @@
xwayland.enable = true;
};
programs.sway = {
enable = true;
xwayland.enable = true;
wrapperFeatures = {
gtk = true;
base = true;
};
};
}

View File

@@ -1,14 +0,0 @@
{ ... }:
{
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;
};
};
}