nix flake update

This commit is contained in:
Tobias Ostner 2025-06-14 14:15:51 +02:00
parent 9e83e6c002
commit c3ff3db64f
4 changed files with 29 additions and 15 deletions

View file

@ -1,4 +1,4 @@
{ hostname }:
{ hostname, username }:
{
nix = {
optimise.automatic = true;
@ -65,10 +65,8 @@
};
system = {
activationScripts.postUserActivation.text = ''
/System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u
defaults write com.apple.symbolichotkeys AppleSymbolicHotKeys -dict-add 70 '<dict><key>enabled</key><false/></dict>'
'';
primaryUser = username;
defaults = {
dock = {

View file

@ -113,6 +113,22 @@
};
};
launchd.agents.disable-hotkey = {
enable = true;
config = {
ProgramArguments = [
"defaults"
"write"
"com.apple.symbolichotkeys"
"AppleSymbolicHotKeys"
"-dict-add"
"70"
"<dict><key>enabled</key><false/></dict>"
];
RunAtLoad = true;
};
};
xdg.configFile."aerospace/aerospace.toml".text = builtins.readFile ../config/aerospace/aerospace.toml;
xdg.configFile."ghostty/config".text = builtins.readFile ../config/ghostty/config;
}