Compare commits

..

No commits in common. "40424a01027fb85a06a1b3a4749508fc2d8c4191" and "7bd21254384824547a49f0dbdb181491b4174186" have entirely different histories.

8 changed files with 11 additions and 27 deletions

View File

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

View File

@ -5,7 +5,6 @@
./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("kitty.app")
self:switch("Alacritty.app")
end)
self.launcher:bind("", "C", function()
self:switch("Calendar.app")

View File

@ -1,16 +0,0 @@
{ 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, pkgs, lib, ... }: {
{ config, 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,9 +1,8 @@
{ config, pkgs, lib, ... }: {
users.users."${config.user}" = {
# macOS user
users.users."${config.user}" = { # macOS user
home = config.homePath;
shell = pkgs.fish; # Default shell
shell = pkgs.zsh; # 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