Skip to content

Commit

Permalink
add alfred workflow, fix some ghostty settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Sironheart committed Jun 24, 2024
1 parent ac6b66d commit a0e826b
Show file tree
Hide file tree
Showing 9 changed files with 80 additions and 81 deletions.
Binary file added config/hide-screen.alfredworkflow
Binary file not shown.
80 changes: 30 additions & 50 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs";

sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";

sironheart-nvim.url = "github:Sironheart/nvim-config";
sironheart-nvim.inputs.nixpkgs.follows = "nixpkgs";
Expand Down
8 changes: 4 additions & 4 deletions home/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ in {
]
++ optionals isDarwin [
# Kotlin Multiplatform
ruby
cocoapods
kdoctor
zulu
# ruby
# cocoapods
# kdoctor
# zulu
];

home.stateVersion = "24.05";
Expand Down
2 changes: 1 addition & 1 deletion home/programs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
font-family = Geist Mono
theme = catppuccin-frappe
macos-non-native-fullscreen = visible-menu
# macos-non-native-fullscreen = visible-menu
macos-option-as-alt = true
confirm-close-surface = false
Expand Down
2 changes: 2 additions & 0 deletions home/programs/shell/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
keymap_mode = "vim-insert";
show_preview = true;
update_check = false;
style = "compact";
inline_height = 20;
};
};

Expand Down
2 changes: 1 addition & 1 deletion home/programs/sway/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ in {
};

programs.waybar = {
enable = true;
enable = isLinux;
systemd.target = "sway-session.target";
};
programs.alacritty = {
Expand Down
3 changes: 1 addition & 2 deletions lib/shared/macOS/homebrew/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,15 @@
"alfred"
"arc"
"discord"
"elgato-camera-hub"
"focusrite-control"
"google-chrome"
"jetbrains-toolbox"
"jordanbaird-ice"
"notion"
"orbstack"
"postman"
"slack"
"spotify"
"xcodes"
"zed"
];

Expand Down
63 changes: 40 additions & 23 deletions lib/shared/macOS/mac-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,46 @@
environment.shells = [pkgs.fish];

time.timeZone = "Europe/Berlin";
system.defaults.finder.ShowPathbar = true;
system.defaults.SoftwareUpdate.AutomaticallyInstallMacOSUpdates = true;
system.defaults = {
finder.ShowPathbar = true;
SoftwareUpdate.AutomaticallyInstallMacOSUpdates = true;

system.defaults.dock = {
"mineffect" = "scale";
"autohide" = true;
"show-recents" = false;
};
system.defaults.finder = {
"AppleShowAllFiles" = true;
"AppleShowAllExtensions" = true;
"FXPreferredViewStyle" = "Nlsv";
};
system.defaults.NSGlobalDomain = {
"com.apple.swipescrolldirection" = false;
"com.apple.keyboard.fnState" = true;
"KeyRepeat" = 2;
"AppleEnableMouseSwipeNavigateWithScrolls" = false;
"AppleEnableSwipeNavigateWithScrolls" = true;
"NSAutomaticCapitalizationEnabled" = false;
"NSAutomaticDashSubstitutionEnabled" = false;
"NSAutomaticPeriodSubstitutionEnabled" = false;
"NSAutomaticQuoteSubstitutionEnabled" = false;
"NSAutomaticSpellingCorrectionEnabled" = false;
dock = {
mineffect = "scale";
autohide = true;
show-recents = false;
};
finder = {
AppleShowAllFiles = true;
AppleShowAllExtensions = true;
FXPreferredViewStyle = "Nlsv";
# ShowPathbar = true;
ShowStatusBar = true;
};
NSGlobalDomain = {
AppleShowAllExtensions = true;
AppleShowAllFiles = true;
AppleInterfaceStyle = "Dark";
NSAutomaticCapitalizationEnabled = false;
"com.apple.swipescrolldirection" = false;
"com.apple.keyboard.fnState" = true;
KeyRepeat = 2;
AppleEnableMouseSwipeNavigateWithScrolls = false;
AppleEnableSwipeNavigateWithScrolls = true;
NSAutomaticDashSubstitutionEnabled = false;
NSAutomaticPeriodSubstitutionEnabled = false;
NSAutomaticQuoteSubstitutionEnabled = false;
NSAutomaticSpellingCorrectionEnabled = false;
NSDisableAutomaticTermination = true;
};

CustomSystemPreferences = {
"com.mitchellh.ghostty" = {
"NSUserKeyEquilvalents" = {
"Hide Ghostty" = " ";
"Hide Others" = " ";
};
};
};
};
}

0 comments on commit a0e826b

Please sign in to comment.