[container-dev] Switch to rootless docker. [nvim] Update snacks options. [hyprland] Use clipboard fixes globally
This commit is contained in:
17
system/features/container-dev.nix
Normal file
17
system/features/container-dev.nix
Normal 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
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user