From f3362df5aacc48d31119fa39f552a3e1b136e428 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Thu, 6 Feb 2025 11:16:24 +0100 Subject: [PATCH] Updated zellij and docker configuration --- modules/home/applications/zellij.nix | 40 +++------------------------- modules/system/services/docker.nix | 4 --- 2 files changed, 4 insertions(+), 40 deletions(-) diff --git a/modules/home/applications/zellij.nix b/modules/home/applications/zellij.nix index e7c68f9..00449b0 100644 --- a/modules/home/applications/zellij.nix +++ b/modules/home/applications/zellij.nix @@ -22,7 +22,7 @@ in { home.file.zellij = { target = ".config/zellij/config.kdl"; text = '' - pane_frames false + pane_frames true keybinds { normal { bind "Ctrl e" { ToggleFloatingPanes; SwitchToMode "normal"; } @@ -40,7 +40,7 @@ in { target = ".config/zellij/layouts/default.kdl"; text = '' layout { - pane + pane borderless=true {} floating_panes { pane { width "80%" @@ -49,40 +49,8 @@ in { y "10%" } } - } - ''; - }; - - home.file.zellij-layout-dioxus = { - target = ".config/zellij/layouts/dioxus.kdl"; - text = '' - layout { - tab { - pane { - command "hx" - args "." - focus true - } - floating_panes { - pane { - width "80%" - height "80%" - x "10%" - y "10%" - } - } - } - tab { - pane { - command "dx" - args "serve" - } - } - tab { - pane { - command "devenv" - args "up" - } + pane size=1 borderless=true { + plugin location="zellij:tab-bar" } } ''; diff --git a/modules/system/services/docker.nix b/modules/system/services/docker.nix index 4bf70c9..d47dc63 100644 --- a/modules/system/services/docker.nix +++ b/modules/system/services/docker.nix @@ -17,10 +17,6 @@ in { config = mkIf cfg.enable { virtualisation.docker = { enable = true; - rootless = { - enable = true; - setSocketVariable = true; - }; }; users.users.xeovalyte.extraGroups = [ "docker" ];