nixos/README.org
Evie Litherland-Smith bdd1becab1 Move UKAEA email config back to mail expression
Add davmail sample config
Add mu4e maildir shortcuts
2023-09-29 09:55:52 +01:00

136 lines
3.6 KiB
Org Mode

#+title: Readme
* [0/1] Tasks
** [ ] rewrite README
* Misc notes
** mu init command
#+begin_src bash
mu init --maildir ~/.mail\
--my-address=e.litherlandsmith@proton.me\
--my-address=evie@xenia.me.uk\
--my-address=evie@litherlandsmith.slmail.me\
--my-address=e.litherlandsmith@icloud.com\
--my-address=evie.litherland-smith@ukaea.uk\
--my-address=elitherl@jet.uk
#+end_src
** davmail config properties
#+begin_src conf
davmail.ssl.keystoreType=
davmail.ssl.keystorePass=
davmail.proxyPassword=
davmail.oauth.tenantId=
davmail.oauth.clientId=
davmail.smtpPort=1026
davmail.enableKerberos=false
davmail.folderSizeLimit=
davmail.forceActiveSyncUpdate=false
davmail.imapAutoExpunge=true
davmail.useSystemProxies=false
davmail.proxyUser=
davmail.caldavEditNotifications=false
davmail.ssl.nosecuresmtp=false
davmail.caldavPastDelay=0
davmail.ssl.keyPass=
log4j.logger.httpclient.wire=WARN
davmail.noProxyFor=
davmail.server=false
davmail.popMarkReadOnRetr=false
davmail.ssl.nosecureimap=false
davmail.disableTrayActivitySwitch=true
davmail.caldavAutoSchedule=true
davmail.enableProxy=false
davmail.proxyPort=
davmail.logFileSize=
davmail.mode=O365Interactive
davmail.smtpSaveInSent=true
davmail.bindAddress=
davmail.ssl.nosecurepop=false
davmail.ssl.pkcs11Library=
log4j.rootLogger=WARN
davmail.ssl.keystoreFile=
log4j.logger.davmail=DEBUG
davmail.ssl.clientKeystoreType=
davmail.clientSoTimeout=
davmail.ssl.pkcs11Config=
davmail.imapPort=1144
davmail.ssl.clientKeystorePass=
davmail.url=https://outlook.office365.com/EWS/Exchange.asmx
log4j.logger.org.apache.http.conn.ssl=WARN
davmail.sentKeepDelay=0
davmail.ssl.nosecureldap=false
davmail.imapAlwaysApproxMsgSize=true
davmail.ssl.nosecurecaldav=false
davmail.popPort=
davmail.defaultDomain=
davmail.showStartupBanner=false
log4j.logger.httpclient=WARN
davmail.proxyHost=
davmail.ldapPort=
davmail.server.certificate.hash=
log4j.logger.org.apache.http.wire=WARN
davmail.disableGuiNotifications=true
davmail.imapIdleDelay=
davmail.allowRemote=false
davmail.disableUpdateCheck=true
log4j.logger.org.apache.http=WARN
davmail.caldavPort=1080
davmail.enableKeepAlive=true
davmail.ssl.clientKeystoreFile=
davmail.logFilePath=/tmp/davmail.log
davmail.carddavReadPhoto=true
davmail.keepDelay=30
davmail.oauth.redirectUri=
davmail.caldavAlarmSound=
#+end_src
* Old README.md
#+BEGIN_SRC markdown
# Personal NixOS configs
## Contains
- System definitions for various personal and work machines
- Desktop environment configs
- Plasma
- Hyprland
- Personal server config
- [Base domain](https://xenia.me.uk) # TODO
- [Gitea](https://git.xenia.me.uk)
- [AdGuardHome](https://guard.xenia.me.uk)
- ~[Nextcloud](https://cloud.xenia.me.uk)~
- Personal home environment definitions
## Installation
`Makefile` handles most things. Running `make` will determine if this is a NixOS or Nix home-manager only install. `make nixos` and `make home` execute either explicitly.
### NixOS
Clone repo into `/etc/nixos/config`, `make nixos` will do this for you otherwise. Edit your `/etc/nixos/configuration.nix` to import top level expression, e.g.:
```nix
{ config, pkgs, ... }: {
imports =
[
# Other imports (e.g. ./hardware-configuration.nix)
./config/hostname.nix
];
# Rest of your configuration.nix goes here
}
```
### Nix home-manager
**Must have `nix` installed to proceed**
Clone repo and run `make` or `make home`, a machine and user specific home-manager config will be created if it doesn't already exist, and then linked to `$XDG_CONFIG_HOME/home-manager/`. Execute:
```sh
nix-shell -p home-manager -- run "home-manager switch -b backup"
```
to install configuration. Home-manager will self-manager after this.
#+END_SRC