From 3af8461700586cf8480a7d8646bdb7f5cd223e50 Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 30 Apr 2024 14:50:22 +0900 Subject: [PATCH] Updates --- flake.nix | 1 - home-manager/common/software/cli/fish.nix | 8 ++------ 2 files changed, 2 insertions(+), 7 deletions(-) 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 '';