mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 10:16:13 +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/desktop/dwm
|
||||||
./features/kitty.nix
|
./features/kitty.nix
|
||||||
./features/neovim.nix
|
./features/neovim.nix
|
||||||
|
./features/tmux.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
|||||||
@@ -6,6 +6,19 @@
|
|||||||
pkgs,
|
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; [
|
environment.systemPackages = (with pkgs; [
|
||||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
# wget
|
# wget
|
||||||
@@ -21,4 +34,12 @@
|
|||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
FLAKE = "/home/mike/.dots";
|
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