nix: centralized enable flags

This commit is contained in:
Primrose 2024-10-18 20:14:24 +02:00
parent 202623cecb
commit 04e38c40c3
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
12 changed files with 38 additions and 29 deletions

View file

@ -1,12 +1,10 @@
{ pkgs, ... }:
{
programs.tmux = {
enable = true;
extraConfig =
''
set -g default-command "${pkgs.fish}/bin/fish" # Use fish
set -g default-shell "${pkgs.fish}/bin/fish"
''
+ builtins.readFile ./tmux.conf;
};
programs.tmux.extraConfig =
''
set -g default-command "${pkgs.fish}/bin/fish" # Use fish
set -g default-shell "${pkgs.fish}/bin/fish"
''
+ builtins.readFile ./tmux.conf;
}