From 88c2a622235e231e9ccbbd9a4f33fc6adceaaac9 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sun, 11 Feb 2024 19:47:19 +0100 Subject: [PATCH] desktop: add docker alias and hotkey for sway next workspace --- modules/desktop/sway/home.nix | 3 +++ modules/desktop/virtualisation/docker.nix | 12 ++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/modules/desktop/sway/home.nix b/modules/desktop/sway/home.nix index 1f74ffd..3035f34 100644 --- a/modules/desktop/sway/home.nix +++ b/modules/desktop/sway/home.nix @@ -212,6 +212,9 @@ "${mod}+Shift+9" = "move container to workspace number 9"; "${mod}+Shift+0" = "move container to workspace number 10"; + "${mod}+Tab" = "workspace next"; + "${mod}+Alt+Tab" = "workspace prev"; + "${mod}+k" = "splith"; "${mod}+v" = "splitv"; diff --git a/modules/desktop/virtualisation/docker.nix b/modules/desktop/virtualisation/docker.nix index c92a0dd..874584e 100644 --- a/modules/desktop/virtualisation/docker.nix +++ b/modules/desktop/virtualisation/docker.nix @@ -6,7 +6,11 @@ { virtualisation = { - docker.enable = true; + podman = { + enable = true; + autoPrune.enable = true; + dockerCompat = true; + }; }; users.groups.docker.members = [ "${user}" ]; @@ -17,9 +21,9 @@ # ''; # Alias to easily start container #}; - environment.systemPackages = with pkgs; [ - docker-compose - ]; +# environment.systemPackages = with pkgs; [ +# docker-compose +# ]; } # USAGE: