ctucx.git: nixfiles

ctucx' nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
{ pkgs, ... }:

{

  homebrew.enable = true;
  homebrew.casks  = [ "rectangle" ];

  system.defaults.CustomUserPreferences = {
    "com.knollsoft.Rectangle" = {
      # don't check for updates
      SUEnableAutomaticChecks = 0;
    };
  };

  system.activationScripts.userDefaults.text = ''
    defaults write com.knollsoft.Rectangle maximize -dict keyCode 36 modifierFlags 786432
  '';

}