ctucx.git: nixfiles

ctucx' nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
{ config, pkgs, lib, ... }:

{

  system.defaults.CustomUserPreferences = {
    #
    # Preview.app
    #
    "com.apple.Preview" = {
      # Set 'L. Thein' as name for PDF annotations
      PVGeneralUserName = "L. Thein";

      # Don't remember page position in PDF
      kPVPDFRememberPageOption = 0;
    };


    #
    # TextEdit
    #
    "com.apple.TextEdit" = {
      # Disable RichText
      RichText = 0;

      # Open and save files as UTF-8
      PlainTextEncoding = 4;
      PlainTextEncodingForWrite = 4;
    };
  };

}