diff --git a/flake.nix b/flake.nix index eb0dd3a7..3cb49282 100644 --- a/flake.nix +++ b/flake.nix @@ -13,7 +13,6 @@ # nixvim - neovim configuration management in nix nixvim.url = "github:nix-community/nixvim/nixos-23.11"; nixvim.inputs.nixpkgs.follows = "nixpkgs"; - # lanzaboote - Secureboot Configuration lanzaboote.url = "github:nix-community/lanzaboote"; lanzaboote.inputs.nixpkgs.follows = "nixpkgs"; diff --git a/home-manager/common/software/cli/fish.nix b/home-manager/common/software/cli/fish.nix index b2e00d75..c05a976f 100644 --- a/home-manager/common/software/cli/fish.nix +++ b/home-manager/common/software/cli/fish.nix @@ -7,12 +7,8 @@ interactiveShellInit = '' set EDITOR vim ssh-add > /dev/null &> /dev/null - if set -q TMUX - else - if set -q DISABLE_TMUX - else - tmux attach || exec tmux new-session && exit - end + if not set -q TMUX && not set -q DISABLE_TMUX + exec tmux attach || exec tmux new-session end '';