diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-05-14 10:50:27 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-05-14 10:50:27 +0200 |
commit | 43c9825e49d25fbd2c19abcdeb8f73aee8be2a4c (patch) | |
tree | c1cc8a034395c9bb8188651f6835922b38887f32 /user-profiles/tmux/default.nix | |
parent | 03d49aa8ec6f51c8f51bfb628e614ac537cca8e0 (diff) | |
download | nixos-43c9825e49d25fbd2c19abcdeb8f73aee8be2a4c.tar nixos-43c9825e49d25fbd2c19abcdeb8f73aee8be2a4c.tar.gz nixos-43c9825e49d25fbd2c19abcdeb8f73aee8be2a4c.tar.bz2 nixos-43c9825e49d25fbd2c19abcdeb8f73aee8be2a4c.tar.xz nixos-43c9825e49d25fbd2c19abcdeb8f73aee8be2a4c.zip |
...
Diffstat (limited to 'user-profiles/tmux/default.nix')
-rw-r--r-- | user-profiles/tmux/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/user-profiles/tmux/default.nix b/user-profiles/tmux/default.nix index 11c53788..dc4e791f 100644 --- a/user-profiles/tmux/default.nix +++ b/user-profiles/tmux/default.nix | |||
@@ -1,10 +1,11 @@ | |||
1 | { userName, pkgs, lib, ... }: | 1 | { userName, pkgs, lib, ... }: |
2 | { | 2 | { |
3 | home-manager.users.${userName} = { | 3 | home-manager.users.${userName} = { config, ... }: { |
4 | programs.tmux = { | 4 | programs.tmux = { |
5 | enable = true; | 5 | enable = true; |
6 | clock24 = true; | 6 | clock24 = true; |
7 | historyLimit = 50000; | 7 | historyLimit = 50000; |
8 | mouse = true; | ||
8 | extraConfig = lib.readFile (pkgs.stdenv.mkDerivation { | 9 | extraConfig = lib.readFile (pkgs.stdenv.mkDerivation { |
9 | name = "tmux.conf"; | 10 | name = "tmux.conf"; |
10 | src = ./tmux.conf; | 11 | src = ./tmux.conf; |
@@ -13,11 +14,10 @@ | |||
13 | 14 | ||
14 | phases = [ "installPhase" ]; | 15 | phases = [ "installPhase" ]; |
15 | 16 | ||
16 | inherit (pkgs) zsh; | ||
17 | mandb = pkgs.man-db; | ||
18 | |||
19 | installPhase = '' | 17 | installPhase = '' |
20 | substituteAll $src $out | 18 | substitute $src $out \ |
19 | --subst-var-by zsh ${config.programs.zsh.package} \ | ||
20 | --subst-var-by man ${config.programs.man.package} | ||
21 | ''; | 21 | ''; |
22 | }); | 22 | }); |
23 | }; | 23 | }; |