diff --git a/home-manager/README.md b/home-manager/README.md deleted file mode 100644 index cca4868..0000000 --- a/home-manager/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# nixos-home - -The NixOS Home Manager configuration for my user on my laptop. diff --git a/home-manager/alacritty/config.nix b/home-manager/alacritty/config.nix index fb87120..997a629 100644 --- a/home-manager/alacritty/config.nix +++ b/home-manager/alacritty/config.nix @@ -1,3 +1,4 @@ +pkgs: config: { # Gruvbox theme (https://github.com/alacritty/alacritty-theme/blob/master/themes/gruvbox_dark.yaml) colors = { @@ -50,4 +51,13 @@ style = "Bold Italic"; }; }; + + shell = { + program = "${pkgs.bash}/bin/bash"; + args = [ + "--login" + "-c" + "${config.programs.tmux.package}/bin/tmux" + ]; + }; } diff --git a/home-manager/alacritty/default.nix b/home-manager/alacritty/default.nix index e5541e3..97fff22 100644 --- a/home-manager/alacritty/default.nix +++ b/home-manager/alacritty/default.nix @@ -1,8 +1,9 @@ +{ pkgs, config, ... }: { config = { programs.alacritty = { enable = true; - settings = import ./config.nix; + settings = import ./config.nix pkgs config; }; }; } diff --git a/home-manager/default.nix b/home-manager/default.nix index 259faee..10d6553 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -39,6 +39,14 @@ programs = { home-manager.enable = true; chromium.enable = true; + + tmux = { + enable = true; + sensibleOnTop = true; + newSession = true; + terminal = "tmux"; + keyMode = "vi"; + }; }; # Let home-manager manage the X session