user:
    name: pigmonkey
    uid: 1000
    gid: 1000
    group: pigmonkey
    shell: /usr/bin/zsh
    email:  peter@havenaut.net
    log:
        dir: log
        rotate: 8

hostname: nous

interception:
    caps2esc:
        enabled: True
        mode: 1
        delay: 20000

# dotfiles:
#     url: git@github.com:pigmonkey/dotfiles.git
#     destination: projects/dotfiles
#     rcup_flags: -fx README.md

aur:
    user: aur_builder
    packages:
        - yay
        - downgrade
        - zplug
        - miller
        - myrepos
        - ctmg

ssh:
    port: 22
    # user_key: /root/id_rsa
    enable_sshd: False

gnupg:
    enable_agent: True
    emulate_ssh: True

mail:
    sync_tool: isync
    sync_pim: True
    sync_taskwarrior: True
    sync_notmuch: False
    sync_time: 10min
    sync_boot_delay: 2min
    sync_on: trusted
    goimapnotify_wait: 10

network:
    conn_check: False
    wifi_wired_exclusive: True
    trusted_uuid:
        - 39744b35-2f2f-4a18-9da4-7542a56c28c2
        - d2642f7e-9e58-4b00-82f8-26b4ef76a54e
        - f74f2bd5-8748-4e1e-98f9-dae2dd44b916
        - a04ea39b-eca8-39d0-9b4a-45badc25b359

editors:
    - gvim

# video_drivers:
#     - libva-intel-driver

base_packages:
    - base-devel
    - man-db
    - man-pages
    - pacman-contrib
    - fwupd
    - dmidecode
    - lshw
    - tmux
    - git
    - rsync
    - coreutils
    - moreutils
    - dateutils
    - bc
    - ranger
    - arch-wiki-lite
    - arch-wiki-docs
    - python-keyring
    - python-secretstorage
    - tig
    - ruby
    - pv
    - minicom
    - jq
    - screen
    - termdown
    - fzf
    - vivid

filesystem_packages:
    - dosfstools
    - ntfs-3g
    - exfatprogs
    - gparted
    - udftools

browser_choices:
    - firefox -P default
    - firefox -P work
    - firewarden chromium
    - firewarden -c qutebrowser
    - tor-browser-en
    - play
    - qcode
    - "| xclip -selection c"

tarsnapper:
  deltas: 1h 1d 7d 30d 365d
  period: DAILY
  ac_only: True
  run_on: trusted
  random_delay: 600

gitannex:
    stop_on_untrusted: True

bootloader: grub

postgresql:
    enable: True
    root: /home/postgres

fingerprint: False

etesync: False

tor:
    run_on: trusted

localtime:
    run_on: trusted

unbound:
    tls: True
    roothints_update: trusted
    nameservers:
        - 1.1.1.1@853#cloudflare-dns.com  # Cloudflare
        - 9.9.9.9@853#dns.quad9.net  # Quad9
    private_domains:
        - corp
        - home
        - intranet
        - lan
        - mesh
        - private
    allow_lan_dns: True

bluetooth:
    disable: False

firejail:
    blacklist:
        - ~/.calendars
        - ~/.config/vdirsyncer
        - ~/.contacts
        - ~/.keys
        - ~/.mbsyncrc
        - ~/.offlineimap
        - ~/.offlineimaprc
        - ~/.password-store
        - ~/.vdirsyncer
        - ~/library

cryptshot:
    - name: alta
      uuid: a71fda0d-a2a4-4b29-a9dd-2cbaba9731f8
      keyfile: /home/pigmonkey/.keys/usb-alta.key
      retain:
        - level: daily
          interval: 7
        - level: weekly
          interval: 6
        - level: monthly
          interval: 3
    - name: bishorn
      uuid: baeb40a2-b19e-4adc-8ef6-44ee720a4d1a
      keyfile: /home/pigmonkey/.keys/usb-bishorn.key
      retain:
        - level: daily
          interval: 7
        - level: weekly
          interval: 6
        - level: monthly
          interval: 3
    - name: palisade
      uuid: 9d4ada7c-2c47-4de9-b8d5-1c4158bd3031
      keyfile: /home/pigmonkey/.keys/usb-palisade.key
      retain:
        - level: daily
          interval: 7
        - level: weekly
          interval: 6
        - level: monthly
          interval: 3
    - name: pilchuck
      uuid: d96a0fc3-7ea1-42f7-b0d0-42e573c478bd
      keyfile: /home/pigmonkey/.keys/usb-pilchuck.key
      retain:
        - level: daily
          interval: 7
        - level: weekly
          interval: 6
        - level: monthly
          interval: 3

journal:
    max_size: 500M

udisks:
    auto_mount: False
    shared_mount: True

hostsctl:
    url: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

himawaripy:
    run_time: 15min
    run_boot_delay: 2min
    run_on: never
    flags: --auto-offset --level 4

goesimage:
    run_time: 15min
    run_boot_delay: 2min
    run_on: trusted
    flags: -w -e

libinput:
    middle_click_scroll: 12
    button_mapping: "1 2 3 4 5 6 7 8 9 10 11 2"

display_manager: lightdm
gdm:
    sound: False
    font_scaling_factor: 1
    logo_path: False
    touchpad:
        tap_to_click: True
    accessibility_menu: True

desktop_environment: i3
gnome:
    night_light:
        enabled: True
        color_temperature: 4000 # in Kelvin
    date_time:
        show_date_in_clock: True
        show_weeks_in_calendar: True
    battery:
        show_percentage: True
    power:
        sleep_timeout_when_computer_on_ac: 3600 # in seconds
        timeout_action_when_computer_on_ac: suspend
        sleep_timeout_when_computer_on_battery: 1800 # in seconds
        timeout_action_when_computer_on_battery: suspend
        power_button_action: suspend
    touchpad:
        tap_to_click: True
        natural_scrolling: True
        disabled_while_typing: True
    online_accounts_support: True
    lock_screen:
        automatic_lock: True
        lock_screen_after_blank_for: 0 # in seconds
        show_notifications: True
        show_full_name_of_user: True
    theme:
        theme_name: Adwaita
        icon_theme_name: Adwaita
        font_name: Dejavu Sans 13
        dark_variant: True
    gnome_shell:
        disable_top_left_hot_corner: False
        extensions_support: True

base_fonts:
    - adobe-source-code-pro-fonts
    - cantarell-fonts
    - gsfonts
    - noto-fonts
    - terminus-font
    - tex-gyre-fonts
    - ttc-iosevka
    - ttc-iosevka-aile
    - ttc-iosevka-ss08
    - ttf-caladea
    - ttf-carlito
    - ttf-dejavu
    - ttf-droid
    - ttf-fira-mono
    - ttf-ibm-plex
    - ttf-inconsolata
    - ttf-liberation
    - ttf-opensans
    - ttf-ubuntu-font-family

aur_fonts:
    - ttf-bitstream-charter
    - ttf-cooper-hewitt
    - ttf-courier-prime
    - ttf-heuristica
    - ttf-merriweather
    - ttf-merriweather-sans
    - ttf-mplus-git
    - ttf-oswald
    - ttf-quintessential
    - ttf-signika

syncthing:
    run_on: trusted
    open_ports: true

kdeconnect:
    run_on: trusted
    open_ports: true

mirrorlist:
    run_on: trusted
    country: US

units:
    run_on: trusted

pkgfile:
    run_on: trusted

hardened:
    enable_namespaces: true

kernel_parameters: "quiet consoleblank=60"

power_management: "tuned"

regdomain: "US"

illuminanced:
    max_backlight_file: /sys/class/backlight/amdgpu_bl1/max_brightness
    backlight_file: /sys/class/backlight/amdgpu_bl1/brightness
    illuminance_file: /sys/bus/iio/devices/iio:device0/in_illuminance_raw
    min_backlight: 60

terminal: kitty
