My personal NixOS configuration
Find a file
Evie Litherland-Smith f0cc8f366b flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/e1391fb22e18a36f57e6999c7a9f966dc80ac073?narHash=sha256-A0vrUB6x82/jvf17qPCpxaM%2BulJnD8YZwH9Ci0BsAzE%3D' (2024-07-03)
  → 'github:nix-community/home-manager/2f23fa308a7c067e52dfcc30a0758f47043ec176?narHash=sha256-Vl%2BWVTJwutXkimwGprnEtXc/s/s8sMuXzqXaspIGlwM%3D' (2024-09-22)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/32058e9138248874773630c846563b1a78ee7a5b?narHash=sha256-WfAHq3Ag3vLNFfWxKHjFBFdPI6JIideWFJod9mx1eoo%3D' (2024-09-01)
  → 'github:nix-community/nix-index-database/c7515c2fdaf2e1f3f49856cef6cec95bb2138417?narHash=sha256-bPDZosnom0%2B02ywmMZAvmj7zvsQ6mVv/5kmvSgbTkaY%3D' (2024-09-22)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/6f6c45b5134a8ee2e465164811e451dcb5ad86e3?narHash=sha256-tiN5Rlg/jiY0tyky%2BsoJZoRzLKbPyIdlQ77xVgREDNM%3D' (2024-09-03)
  → 'github:nixos/nixpkgs/944b2aea7f0a2d7c79f72468106bc5510cbf5101?narHash=sha256-NmcVhGElxDbmEWzgXsyAjlRhUus/nEqPC5So7BOJLUM%3D' (2024-09-20)
• Updated input 'stylix':
    'github:danth/stylix/149b313ddf91c3cc94309170498b162cec666675?narHash=sha256-fieyqmLEJQqqnuJcg2CAnQ8kHapXHhg9rL48NNWjnPw%3D' (2024-09-16)
  → 'github:danth/stylix/53bcceb4e46d0b3e8ae6434a7a6bcc3463092093?narHash=sha256-pGRPVVm7UXf%2Bfx2NVpH6FFSWR9AynG6eoVlagaqH9i4%3D' (2024-09-20)
• Updated input 'stylix/base16-helix':
    'github:tinted-theming/base16-helix/34f41987bec14c0f3f6b2155c19787b1f6489625?narHash=sha256-numb3xigRGnr/deF7wdjBwVg7fpbTH7reFDkJ75AJkY%3D' (2024-07-12)
  → 'github:tinted-theming/base16-helix/7f795bf75d38e0eea9fed287264067ca187b88a9?narHash=sha256-Z2o8VBPW3I%2BKKTSfe25kskz0EUj7MpUh8u355Z1nVsU%3D' (2024-09-09)
2024-09-23 07:28:54 +01:00
pfp Update pfps for badger, new micro versions 2024-07-26 20:23:33 +01:00
system Add nixos-upgrade alias 2024-09-22 11:48:04 +01:00
.gitignore Update Makefile 2024-06-22 09:41:24 +01:00
.pre-commit-config.yaml Add pre-commit hook to run gitleaks 2024-06-24 07:31:02 +01:00
flake.lock flake.lock: Update 2024-09-23 07:28:54 +01:00
flake.nix Remove base16.nix and tt-schemes from flake inputs 2024-09-20 08:41:00 +01:00
Makefile Add flathub setup to Makefile 2024-08-23 07:07:25 +01:00
README.org Use libsecret for mbsync and git-credential-helper 2024-07-08 08:58:32 +01:00

README

My personal NixOS + home-manager configuration files.

To set up without cloning the repository (assuming an already running NixOS system), run:

  sudo nixos-rebuild switch --flake "git+https://git.xenia.me.uk/pixelifytica/nixos.git?ref=main"\#$(hostname)

Password store setup

Transfer GPG key(s)

  # Export keys on existing machine
  gpg -a --export > publickeys.asc
  gpg -a --export-secret-keys > privatekeys.asc
  # Import key on new machine
  gpg --import privatekeys.asc; gpg --import publickeys.asc
  # Edit (for each key) to set trust
  gpg --edit-key evie@xenia.me.uk

Clone password-store repository

  git clone https://git.xenia.me.uk/pixelifytica/pass $PASSWORD_STORE_DIR

Email setup

Passwords for mbsync

Run

mbsync-ensure-pass
to check for passwords required by mbsync, and query for missing passwords.

Static app-specific passwords are stored in password-store, fetch from there to add to secret service.

Proton

Bridge

Start Proton Mail Bridge application, if needed configure to store using SecretService and log in. Application will auto-start with desktop session.

Use password from Bridge for mbsync.

Outlook

Davmail

Run

davmail-setup
to automate this process.

On first run (or if token expires), stop systemd service and run manually to complete manual auth. Token will stay valid for a little while (no idea how long specifically).

  # Restart service to ensure ~/.davmail.properties exists
  systemctl --user restart davmail.service
  # Run to use manual authentication
  systemctl --user stop davmail.service && davmail -notray ~/.davmail.properties
  # Restart again so that service picks up available ports
  systemctl --user restart davmail.service

Flathub setup

  flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Further reading: