Skip to content

Commit

Permalink
Create zellij-admin script to attach to admin session
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Mar 3, 2024
1 parent 7f70b4d commit 2860a0d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions home/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
# FIXME: neovim should be per-user
neovim
nixci

# TODO: This should be installed only for admins
(pkgs.writeShellApplication {
name = "zellij-admin";
runtimeInputs = [ pkgs.zellij ];
text = ''
set -xe
zellij attach -c admin
'';
})
];

# Recommended Nix settings
Expand Down

0 comments on commit 2860a0d

Please sign in to comment.