mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 08:46:11 +01:00
tmux
This commit is contained in:
11
home-manager/features/tmux.nix
Normal file
11
home-manager/features/tmux.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{pkgs, ...}: {
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
mouse = true;
|
||||
prefix = "C-b";
|
||||
plugins = with pkgs.tmuxPlugins; [
|
||||
sensible
|
||||
vim-tmux-navigator
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -22,6 +22,7 @@
|
||||
./features/desktop/dwm
|
||||
./features/kitty.nix
|
||||
./features/neovim.nix
|
||||
./features/tmux.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
|
||||
@@ -6,6 +6,19 @@
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# Auto-upgrade in the background
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = inputs.self.outPath;
|
||||
flags = [
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"-L"
|
||||
];
|
||||
dates = "09:00";
|
||||
randomizedDelaySec = "45min";
|
||||
};
|
||||
|
||||
environment.systemPackages = (with pkgs; [
|
||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
# wget
|
||||
@@ -21,4 +34,12 @@
|
||||
environment.sessionVariables = {
|
||||
FLAKE = "/home/mike/.dots";
|
||||
};
|
||||
|
||||
programs.nix-ld = {
|
||||
enable = true;
|
||||
libraries = with pkgs; [
|
||||
# Add any missing dynamic libraries for unpackaged
|
||||
# programs here, NOT in environment.systemPackages
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user