alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
migrate from tmux.nix to tmux tool
author
lassulus
date
1 year ago
(Jun 21, 2025, 1:36 AM CEST)
commit
43e115f8
43e115f8e3d6734b59041d68113bb13854e10eec
parent
176b88be
176b88be56d0a3979e8ff6c335c91d3b58e0d80b
+1
-49
4 changed files
Expand all
Collapse all
Unified
Split
2configs
default.nix
desktops
lib
wayland.nix
x11.nix
tmux.nix
+1
-1
2configs/default.nix
View file
Reviewed
···
36
36
./zsh.nix
37
37
./htop.nix
38
38
./wiregrill.nix
39
39
-
./tmux.nix
40
39
./tor-ssh.nix
41
40
./networkd.nix
42
41
./pinned-registry.nix
···
185
184
186
185
environment.systemPackages = with pkgs; [
187
186
self.packages.${pkgs.system}.nvim
187
187
+
self.packages.${pkgs.system}.tmux
188
188
189
189
git
190
190
git-absorb
-46
2configs/tmux.nix
Reviewed
···
1
1
-
{ config, pkgs, ... }:
2
2
-
3
3
-
{
4
4
-
environment.etc."tmux.conf".text = ''
5
5
-
#prefix key to `
6
6
-
set-option -g prefix2 `
7
7
-
8
8
-
bind-key r source-file /etc/tmux.conf \; display-message "/etc/tmux.conf reloaded"
9
9
-
10
10
-
set-option -g default-terminal screen-256color
11
11
-
12
12
-
#use session instead of windows
13
13
-
bind-key c new-session
14
14
-
bind-key p switch-client -p
15
15
-
bind-key n switch-client -n
16
16
-
bind-key C-s switch-client -l
17
17
-
'';
18
18
-
nixpkgs.config.packageOverrides = super: {
19
19
-
tmux = pkgs.symlinkJoin {
20
20
-
name = "tmux";
21
21
-
paths = [
22
22
-
(pkgs.writeDashBin "tmux" ''
23
23
-
exec ${super.tmux}/bin/tmux -f /etc/tmux.conf "$@"
24
24
-
'')
25
25
-
super.tmux
26
26
-
];
27
27
-
};
28
28
-
};
29
29
-
environment.systemPackages = with pkgs; [
30
30
-
tmux
31
31
-
];
32
32
-
33
33
-
# programs.bash.interactiveShellInit = ''
34
34
-
# if [[ "$TERM" != "linux" && -z "$TMUX" ]]; then
35
35
-
# if [[ -n "$SSH_AUTH_SOCK" ]]; then
36
36
-
# tmux set-environment -g SSH_AUTH_SOCK "$SSH_AUTH_SOCK" 2>/dev/null
37
37
-
# fi
38
38
-
39
39
-
# exec tmux -u
40
40
-
# fi
41
41
-
# if [[ "$__host__" != "$HOST" ]]; then
42
42
-
# tmux set -g status-bg colour$(string_hash $HOST 255)
43
43
-
# export __host__=$HOST
44
44
-
# fi
45
45
-
# '';
46
46
-
}
-1
2configs/desktops/lib/wayland.nix
View file
Reviewed
···
10
10
../../power-action.nix
11
11
../../xdg-open.nix
12
12
../../yubikey.nix
13
13
-
../../tmux.nix
14
13
../../themes.nix
15
14
../../fonts.nix
16
15
# ../pipewire.nix
-1
2configs/desktops/lib/x11.nix
View file
Reviewed
···
12
12
../../xdg-open.nix
13
13
../../yubikey.nix
14
14
../../pipewire.nix
15
15
-
../../tmux.nix
16
15
../../themes.nix
17
16
../../fonts.nix
18
17
{