ghostty config for mac

This commit is contained in:
Dennis Schoepf 2025-12-04 18:54:34 +01:00
parent 6fd8ffcc94
commit 6906d9a0b6
2 changed files with 22 additions and 41 deletions

View file

@ -10,13 +10,13 @@
}: }:
{ {
imports = imports = [
[ # Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
../../modules/wm/ly ../../modules/wm/ly
../../modules/keyd ../../modules/keyd
]; ];
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
@ -42,7 +42,7 @@
}; };
security.sudo.enable = true; security.sudo.enable = true;
services.xserver= { services.xserver = {
xkb = { xkb = {
layout = "eu"; layout = "eu";
}; };
@ -76,8 +76,11 @@
users.users.dennis = { users.users.dennis = {
isNormalUser = true; isNormalUser = true;
description = "dennis"; description = "dennis";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [
packages = with pkgs; []; "networkmanager"
"wheel"
];
packages = with pkgs; [ ];
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvXWZOPOJJDAoF+Sx/ZLoAVu6G/7/MAWoknBgMAzjul dennis@dnsc-mac" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvXWZOPOJJDAoF+Sx/ZLoAVu6G/7/MAWoknBgMAzjul dennis@dnsc-mac"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKnmuxDkpDIku5t1Tykz21u78xoQ7LJR8JEcfth32LGu dennis@dnsc-work" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKnmuxDkpDIku5t1Tykz21u78xoQ7LJR8JEcfth32LGu dennis@dnsc-work"
@ -92,7 +95,7 @@
programs.niri.enable = true; programs.niri.enable = true;
security.polkit.enable = true; security.polkit.enable = true;
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;
security.pam.services.hyprlock = {}; security.pam.services.hyprlock = { };
# Steam # Steam
programs.steam = { programs.steam = {

View file

@ -4,18 +4,16 @@
enableFishIntegration = true; enableFishIntegration = true;
installVimSyntax = true; installVimSyntax = true;
clearDefaultKeybinds = true; clearDefaultKeybinds = true;
package = ""; package = null;
settings = { settings = {
theme = "Catppuccin Mocha"; font-size = 14;
font-size = 15; font-family = "VictorMono Nerd Font";
font-family = "VictorMono NF SemiBold";
background-opacity = 0.94; background-opacity = 0.94;
window-padding-x = 12; window-padding-x = 12;
window-padding-y = 12; window-padding-y = 12;
window-padding-balance = true; window-padding-balance = true;
window-inherit-working-directory = true; window-inherit-working-directory = true;
window-theme = "ghostty"; window-theme = "ghostty";
copy-on-select = "clipboard";
shell-integration-features = true; shell-integration-features = true;
scrollback-limit = 100000; scrollback-limit = 100000;
link-url = true; link-url = true;
@ -44,34 +42,14 @@
"15=#ffffff" "15=#ffffff"
]; ];
keybind = [ keybind = [
"ctrl+b>s=new_split:auto"
"ctrl+b>minus=new_split:down"
"ctrl+b>v=new_split:right"
"ctrl+b>h=goto_split:left"
"ctrl+b>j=goto_split:down"
"ctrl+b>k=goto_split:up"
"ctrl+b>l=goto_split:right"
"ctrl+b>z=toggle_split_zoom"
"ctrl+b>c=new_tab"
"ctrl+b>x=close_surface"
"ctrl+b>1=goto_tab:1"
"ctrl+b>2=goto_tab:2"
"ctrl+b>3=goto_tab:3"
"ctrl+b>4=goto_tab:4"
"ctrl+b>5=goto_tab:5"
"ctrl+b>6=goto_tab:6"
"ctrl+b>7=goto_tab:7"
"ctrl+b>8=goto_tab:8"
"ctrl+b>9=goto_tab:9"
"ctrl+b>p=toggle_command_palette"
"ctrl+shift+u=scroll_page_lines:-40"
"ctrl+shift+d=scroll_page_lines:40"
"ctrl+plus=increase_font_size:2" "ctrl+plus=increase_font_size:2"
"ctrl+minus=decrease_font_size:2" "ctrl+minus=decrease_font_size:2"
"ctrl+0=reset_font_size" "ctrl+0=reset_font_size"
"ctrl+shift+a=select_all" "ctrl+shift+a=select_all"
"ctrl+shift+c=copy_to_clipboard" "ctrl+shift+c=copy_to_clipboard"
"ctrl+shift+v=paste_from_clipboard" "ctrl+shift+v=paste_from_clipboard"
"cmd+c=copy_to_clipboard"
"cmd+v=paste_from_clipboard"
"global:cmd+semicolon=toggle_quick_terminal" "global:cmd+semicolon=toggle_quick_terminal"
]; ];
}; };