Skip to content

Commit

Permalink
switched back to tmux over zellij
Browse files Browse the repository at this point in the history
  • Loading branch information
heywoodlh committed Nov 18, 2024
1 parent 93fc16c commit 4abac47
Show file tree
Hide file tree
Showing 13 changed files with 73 additions and 84 deletions.
98 changes: 49 additions & 49 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions home/base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
let
system = pkgs.system;
homeDir = config.home.homeDirectory;
myZellij = myFlakes.packages.${system}.zellij;
myFish = myFlakes.packages.${system}.fish;
myVM = myFlakes.packages.${system}.nixos-vm;
myVim = myFlakes.packages.${system}.vim;
Expand Down Expand Up @@ -222,7 +221,7 @@ in {
zip
myVim
myGit
myZellij # For non-nix use-cases
myFlakes.packages.${system}.tmux
myFish # For non-nix use-cases
#myVM
todomanWrapper
Expand Down
6 changes: 3 additions & 3 deletions home/darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
let
system = pkgs.system;
homeDir = config.home.homeDirectory;
myZellij = myFlakes.packages.${system}.zellij;
myTmux = myFlakes.packages.${system}.tmux;
in {
imports = [
./base.nix
Expand Down Expand Up @@ -56,10 +56,10 @@ in {
};

home.file.".config/iterm2/iterm2-profiles.json" = {
text = import ./iterm/iterm2-profiles.nix { inherit myZellij; };
text = import ./iterm/iterm2-profiles.nix { inherit myTmux; };
};
home.file.".config/iterm2/com.googlecode.iterm2.plist" = {
text = import ./iterm/com.googlecode.iterm2.plist.nix { inherit myZellij; };
text = import ./iterm/com.googlecode.iterm2.plist.nix { inherit myTmux; };
};
home.file.".config/iterm2/README.md" = {
source = ./iterm/README.md;
Expand Down
2 changes: 1 addition & 1 deletion home/iterm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ chmod +w *.plist *.json
`~/.config/iterm2/iterm2-profiles.json` to `com.googlecode.iterm2.plist.nix`
and `iterm2-profiles.json.nix` in `home/iterm2`

6. Replace `zellij` executables in nix files with `${myZellij}/bin/zellij`
6. Replace `tmux` executables in nix files with `${myTmux}/bin/tmux`

7. Remove writable config files:

Expand Down
6 changes: 3 additions & 3 deletions home/iterm/com.googlecode.iterm2.plist.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ myZellij, }:
{ myTmux, }:

''
<?xml version="1.0" encoding="UTF-8"?>
Expand Down Expand Up @@ -427,7 +427,7 @@ Paste</string>
<key>Columns</key>
<integer>80</integer>
<key>Command</key>
<string>${myZellij}/bin/zellij</string>
<string>${myTmux}/bin/tmux</string>
<key>Cursor Color</key>
<dict>
<key>Alpha Component</key>
Expand Down Expand Up @@ -1218,7 +1218,7 @@ Paste</string>
<key>Columns</key>
<integer>80</integer>
<key>Command</key>
<string>${myZellij}/bin/zellij</string>
<string>${myTmux}/bin/tmux</string>
<key>Cursor Color</key>
<dict>
<key>Alpha Component</key>
Expand Down
Loading

0 comments on commit 4abac47

Please sign in to comment.