move tmux into its one file

This commit is contained in:
Andreas Zweili 2022-03-28 18:08:54 +02:00
parent 19b890a5ee
commit abf2ce16f5
3 changed files with 10 additions and 1 deletions

View File

@ -9,7 +9,6 @@
ncdu
nixpkgs-fmt
ranger
tmux
tree
unzip
vim

View File

@ -2,6 +2,7 @@
{
imports = [
(import "${inputs.self}/modules/cli" { inherit inputs pkgs system; })
(import "${inputs.self}/modules/tmux" { inherit inputs pkgs system; })
];
# The rough location

9
modules/tmux/default.nix Normal file
View File

@ -0,0 +1,9 @@
{ pkgs, ... }:
{
programs.tmux = {
enable = true;
extraConfig = ''
set -g mouse on
'';
};
}