From d2aecd69c17fa64305c07333686576152432993d Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:03:58 -0500 Subject: changes. --- tmux-tsunami/modules/hjem.nix | 58 ------------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 tmux-tsunami/modules/hjem.nix (limited to 'tmux-tsunami/modules/hjem.nix') diff --git a/tmux-tsunami/modules/hjem.nix b/tmux-tsunami/modules/hjem.nix deleted file mode 100644 index 019eada..0000000 --- a/tmux-tsunami/modules/hjem.nix +++ /dev/null @@ -1,58 +0,0 @@ -{std, ...}: { - pkgs, - lib, - config, - ... -}: let - cfg = config.tsunami; -in { - imports = lib.filesystem.listFilesRecursive ./common; - - _module.args = { - inherit std; - tsunamiLib = { - scriptPath = f: "~/.config/tmux/scripts/${f}.sh"; - filePath = f: "~/.config/tmux/files/${f}"; - }; - }; - - files = lib.mkIf cfg.enable (lib.mkMerge [ - ( - cfg.scripts - |> builtins.mapAttrs (name: value: { - name = ".config/tmux/scripts/${name}.sh"; - value = { - text = value; - executable = true; - }; - }) - |> lib.attrValues - |> builtins.listToAttrs - ) - ( - cfg.files - |> builtins.mapAttrs (name: value: { - name = ".config/tmux/files/${name}"; - value.text = value; - }) - |> lib.attrValues - |> builtins.listToAttrs - ) - ( - cfg.confs - |> builtins.mapAttrs (name: value: { - name = ".config/tmux/conf.d/${name}.conf"; - value.text = value; - }) - |> lib.attrValues - |> builtins.listToAttrs - ) - { - ".config/tmux/tmux.conf".text = '' - run-shell "find ~/.config/tmux/conf.d -print0 | xargs -0 -n1 tmux source-file" - ''; - } - ]); - - packages = lib.optional cfg.enable pkgs.tmux; -} -- cgit v1.3.1