Compare commits

...

2 Commits

Author SHA1 Message Date
Noah Masur
40424a0102 temp: disable visidata bc of python errors 2022-10-31 14:46:04 -04:00
Noah Masur
d7b711ff02 replace alacritty with kitty on macos 2022-10-31 14:45:51 -04:00
8 changed files with 27 additions and 11 deletions

View File

@ -25,9 +25,10 @@ darwin.lib.darwinSystem {
}
../common.nix
../../modules/darwin
../../modules/mail
../../modules/applications/alacritty.nix
../../modules/applications/kitty.nix
../../modules/applications/discord.nix
../../modules/mail/himalaya.nix
../../modules/repositories/notes.nix
../../modules/programming/nix.nix
../../modules/programming/terraform.nix

View File

@ -6,7 +6,6 @@
# programs.rofi.terminal = "${pkgs.kitty}/bin/kitty";
programs.kitty = {
enable = true;
darwinLaunchOptions = null;
environment = { };
extraConfig = "";
font.size = 14;
@ -63,12 +62,10 @@
${pkgs.neovim}/bin/nvim -c 'setlocal nonumber nolist showtabline=0 foldcolumn=0|Man!' -c "autocmd VimEnter * normal G" -'';
# Window
window_padding_width = 4;
window_padding_width = 6;
tab_bar_edge = "top";
tab_bar_style = "slant";
# macos_traditional_fullscreen = true;
};
};
};

View File

@ -5,6 +5,7 @@
./fonts.nix
./hammerspoon.nix
./homebrew.nix
./kitty.nix
./networking.nix
./nixpkgs.nix
./system.nix

View File

@ -56,7 +56,7 @@ function obj:init()
-- Launcher shortcuts
self.launcher:bind("ctrl", "space", function() end)
self.launcher:bind("", "return", function()
self:switch("Alacritty.app")
self:switch("kitty.app")
end)
self.launcher:bind("", "C", function()
self:switch("Calendar.app")

16
modules/darwin/kitty.nix Normal file
View File

@ -0,0 +1,16 @@
{ config, pkgs, lib, ... }: {
# MacOS-specific settings for Kitty
home-manager.users.${config.user} = {
programs.kitty = {
darwinLaunchOptions = [ "--start-as=fullscreen" ];
font.size = lib.mkForce 20;
settings = {
shell = "${pkgs.fish}/bin/fish";
macos_traditional_fullscreen = true;
macos_quit_when_last_window_closed = true;
};
};
};
}

View File

@ -1,4 +1,4 @@
{ config, lib, ... }: {
{ config, pkgs, lib, ... }: {
home-manager.users.${config.user} = {
@ -21,7 +21,7 @@
rebuild-home = lib.mkForce {
body = ''
git -C ${config.dotfilesPath} add --intent-to-add --all
commandline -r ${pkgs.home-manager}/bin/home-manager switch --flake ${config.dotfilesPath}#${config.networking.hostName}";
commandline -r "${pkgs.home-manager}/bin/home-manager switch --flake ${config.dotfilesPath}#${config.networking.hostName}";
commandline --function execute
'';
};

View File

@ -1,8 +1,9 @@
{ config, pkgs, lib, ... }: {
users.users."${config.user}" = { # macOS user
users.users."${config.user}" = {
# macOS user
home = config.homePath;
shell = pkgs.zsh; # Default shell
shell = pkgs.fish; # Default shell
};
}

View File

@ -18,7 +18,7 @@ in {
home-manager.users.${config.user} = {
home.packages = with pkgs; [
visidata # CSV inspector
# visidata # CSV inspector
dos2unix # Convert Windows text files
inetutils # Includes telnet
youtube-dl # Convert web videos