Personal configuration of my NixOS and MacOS computers
- 🍏 Darwin syncthing module
- 🍏 Darwin/Linux agnostic home-manager layout
- 🖥️ River desktop
- 📥 Email automation
- 📅 Calendar
- Podcasts using podgrab
- Use brew to install mac-media-key-forwarder, register it LaunchAgent, and configure for mpd.
- modules Modularized NixOS config
- home-manager Home manager config, standalone
- nixos Systemwide NixOS config
- hosts Different systems, named after gods of Tengrism
- users Different users, named after themselves
- 🔪👑 batuhan My user account
- 🧙🐭 joeysaur Husband's user account (future)
My configuration was created based on, or uses, the following resources.
Installation command is the following from live USB;
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode destroy,format,mount ./nixos/hosts/<HOST>/disk-layout.nix
sudo nixos-install --root /mnt --no-root-passwd --flake .#<HOST>
My archlinux setup was based on the following blog series.
To generate luks keys, I use the following command;
dd bs=512 count=4 if=/dev/random of=<FILE>.key iflag=fullblock
To create GPG encrypted/decrpyted files; I use the following
gpg --output <FILE>.gpg --encrypt --recipient <ID> <FILE>
gpg --output <FILE> --decrypt <FILE>.gpg
I'm using sops-nix to manage secrets. The sops command to encrypt a binary file is the following;
sops -e <INPUT>.file > <OUTPUT>.key