Compare commits

..

3 commits

4 changed files with 38 additions and 2 deletions

View file

@ -9,6 +9,18 @@ let
self.overlays.default self.overlays.default
inputs.niri.overlays.niri inputs.niri.overlays.niri
inputs.lix-module.overlays.lixFromNixpkgs inputs.lix-module.overlays.lixFromNixpkgs
(final: prev: {
tmux = prev.tmux.overrideAttrs (old: rec {
version = "3.5";
src = prev.fetchFromGitHub {
owner = "tmux";
repo = "tmux";
rev = version;
hash = "sha256-8CRZj7UyBhuB5QO27Y+tHG62S/eGxPOHWrwvh1aBqq0=";
};
});
})
]; ];
}); });

View file

@ -14,9 +14,9 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
programs.tmux = { programs.tmux = {
enable = true; enable = true;
# shell = getExe (if macos then pkgs.zsh else pkgs.fish); shell = getExe (if macos then pkgs.zsh else pkgs.fish);
# shell = if macos then "/bin/zsh" else (getExe pkgs.fish); # shell = if macos then "/bin/zsh" else (getExe pkgs.fish);
shell = getExe pkgs.fish; # shell = getExe pkgs.fish;
mouse = true; mouse = true;
baseIndex = 1; baseIndex = 1;
terminal = "screen-256color"; terminal = "screen-256color";

View file

@ -1,4 +1,8 @@
{ pkgs, lib, self, ... }: { { pkgs, lib, self, ... }: {
imports = [
./darwin-modules/pam.nix
];
# List packages installed in system profile. To search by name, run: # List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget # $ nix-env -qaP | grep wget
environment.systemPackages = [ ]; environment.systemPackages = [ ];
@ -56,6 +60,7 @@
]; ];
security.pam.enableSudoTouchIdAuth = true; security.pam.enableSudoTouchIdAuth = true;
security.pam.enableSudoTouchIdReattach = true;
users.users.zynh = { users.users.zynh = {
name = "zynh"; name = "zynh";

View file

@ -19,6 +19,25 @@
direnv.enable = true; direnv.enable = true;
}; };
# nixpkgs.overlays = [
# (final: prev: {
# tmux = prev.tmux.overrideAttrs (old: rec {
# version = "3.5";
# src = prev.fetchFromGitHub {
# owner = "tmux";
# repo = "tmux";
# rev = version;
# hash = "sha256-8CRZj7UyBhuB5QO27Y+tHG62S/eGxPOHWrwvh1aBqq0=";
# };
# });
# })
# ];
# programs.tmux.extraConfig = ''
# set -gu default-command
# set -g default-shell "$SHELL"
# '';
programs.alacritty.settings = { programs.alacritty.settings = {
font.size = lib.mkForce 16.0; font.size = lib.mkForce 16.0;
window.opacity = lib.mkForce 0.94; window.opacity = lib.mkForce 0.94;