Fix macos things

This commit is contained in:
2024-11-06 10:18:49 +01:00
parent a149ea0d19
commit 454e21c4d9
3 changed files with 4 additions and 6 deletions
+3 -2
View File
@@ -141,7 +141,7 @@
};
darwinConfigurations."zroux-mac" = nix-darwin.lib.darwinSystem {
specialArgs = { inherit inputs; };
specialArgs = {inherit inputs;};
modules = [
./modules/cli/darwin.nix
home-manager.darwinModules.home-manager
@@ -158,7 +158,8 @@
users.zroux = {
imports = [
./modules/cli/home.nix
nix-index-database.hmModules.nix-index
./modules/gui/ghostty.nix
nix-index-database.hmModules.nix-index
];
};
};
-2
View File
@@ -19,7 +19,6 @@
vim
tmux
jq
mosh
];
programs.zsh.enable = true;
@@ -32,5 +31,4 @@
};
info.enable = true;
};
}
+1 -2
View File
@@ -15,7 +15,6 @@
ripgrep
fzf
nix-your-shell
mosh
unzip
sshfs-fuse
zip
@@ -238,7 +237,7 @@
initExtraFirst = ''
# Create a new tmux session (with a random name) and attach.
if [[ -z "$TMUX" ]]; then
exec tmux new-session -s "$(hexdump -n 4 -v -e '/1 "%02X"' /dev/urandom)"
exec tmux -u new-session -s "$(hexdump -n 4 -v -e '/1 "%02X"' /dev/urandom)"
fi
'';
initExtraBeforeCompInit = builtins.readFile ./comp.zsh;