mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 06:52:24 +00:00
Compare commits
No commits in common. "40424a01027fb85a06a1b3a4749508fc2d8c4191" and "7bd21254384824547a49f0dbdb181491b4174186" have entirely different histories.
40424a0102
...
7bd2125438
@ -25,10 +25,9 @@ darwin.lib.darwinSystem {
|
|||||||
}
|
}
|
||||||
../common.nix
|
../common.nix
|
||||||
../../modules/darwin
|
../../modules/darwin
|
||||||
../../modules/mail
|
|
||||||
../../modules/applications/alacritty.nix
|
../../modules/applications/alacritty.nix
|
||||||
../../modules/applications/kitty.nix
|
|
||||||
../../modules/applications/discord.nix
|
../../modules/applications/discord.nix
|
||||||
|
../../modules/mail/himalaya.nix
|
||||||
../../modules/repositories/notes.nix
|
../../modules/repositories/notes.nix
|
||||||
../../modules/programming/nix.nix
|
../../modules/programming/nix.nix
|
||||||
../../modules/programming/terraform.nix
|
../../modules/programming/terraform.nix
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
# programs.rofi.terminal = "${pkgs.kitty}/bin/kitty";
|
# programs.rofi.terminal = "${pkgs.kitty}/bin/kitty";
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
darwinLaunchOptions = null;
|
||||||
environment = { };
|
environment = { };
|
||||||
extraConfig = "";
|
extraConfig = "";
|
||||||
font.size = 14;
|
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" -'';
|
${pkgs.neovim}/bin/nvim -c 'setlocal nonumber nolist showtabline=0 foldcolumn=0|Man!' -c "autocmd VimEnter * normal G" -'';
|
||||||
|
|
||||||
# Window
|
# Window
|
||||||
window_padding_width = 6;
|
window_padding_width = 4;
|
||||||
|
|
||||||
tab_bar_edge = "top";
|
tab_bar_edge = "top";
|
||||||
tab_bar_style = "slant";
|
tab_bar_style = "slant";
|
||||||
|
|
||||||
|
# macos_traditional_fullscreen = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
./fonts.nix
|
./fonts.nix
|
||||||
./hammerspoon.nix
|
./hammerspoon.nix
|
||||||
./homebrew.nix
|
./homebrew.nix
|
||||||
./kitty.nix
|
|
||||||
./networking.nix
|
./networking.nix
|
||||||
./nixpkgs.nix
|
./nixpkgs.nix
|
||||||
./system.nix
|
./system.nix
|
||||||
|
@ -56,7 +56,7 @@ function obj:init()
|
|||||||
-- Launcher shortcuts
|
-- Launcher shortcuts
|
||||||
self.launcher:bind("ctrl", "space", function() end)
|
self.launcher:bind("ctrl", "space", function() end)
|
||||||
self.launcher:bind("", "return", function()
|
self.launcher:bind("", "return", function()
|
||||||
self:switch("kitty.app")
|
self:switch("Alacritty.app")
|
||||||
end)
|
end)
|
||||||
self.launcher:bind("", "C", function()
|
self.launcher:bind("", "C", function()
|
||||||
self:switch("Calendar.app")
|
self:switch("Calendar.app")
|
||||||
|
@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, lib, ... }: {
|
{ config, lib, ... }: {
|
||||||
|
|
||||||
home-manager.users.${config.user} = {
|
home-manager.users.${config.user} = {
|
||||||
|
|
||||||
@ -21,7 +21,7 @@
|
|||||||
rebuild-home = lib.mkForce {
|
rebuild-home = lib.mkForce {
|
||||||
body = ''
|
body = ''
|
||||||
git -C ${config.dotfilesPath} add --intent-to-add --all
|
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
|
commandline --function execute
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
|
|
||||||
users.users."${config.user}" = {
|
users.users."${config.user}" = { # macOS user
|
||||||
# macOS user
|
|
||||||
home = config.homePath;
|
home = config.homePath;
|
||||||
shell = pkgs.fish; # Default shell
|
shell = pkgs.zsh; # Default shell
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ in {
|
|||||||
home-manager.users.${config.user} = {
|
home-manager.users.${config.user} = {
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# visidata # CSV inspector
|
visidata # CSV inspector
|
||||||
dos2unix # Convert Windows text files
|
dos2unix # Convert Windows text files
|
||||||
inetutils # Includes telnet
|
inetutils # Includes telnet
|
||||||
youtube-dl # Convert web videos
|
youtube-dl # Convert web videos
|
||||||
|
Loading…
x
Reference in New Issue
Block a user