This is my NixOS-config.
- Hosts are only customized in
flake.nix
- Complexity is avoided where possible
- Impermanence using BTRFS (
/
is wiped on every reboot) - Customized neovim as a flake output
- Home setup scripts (to configure email and git)
- Nixpkgs: Packages and standard library
- Impermanence: To define what data persists boots
- Home-Manager: Modules for managing the home environment
- Disko: To define partitions declaratively
- Desktop Wallpaper (set to
~/pictures/wallpapers/current
) - Wifi credentials
- Steam settings and games
- Website settings
- Currently: browser settings
- Move from special workspaces to something more practical (floating tags)
- Shutdown before battery is empty
- Backups
- (Modify gtk(/its apps') source code)
- Calendar
- Statusbar (https://github.com/JakeStanger/ironbar)
- Multiple drives
- Maybe make it runnable on android, too
This guide should include every step to setup a new machine. This config is primarily intended for my own use, but you can of course adapt it to your own needs. :)
Build the iso (requires nix):
nix build .#iso
Burn the iso to an empty usb stick:
umount </dev/usb_drive>
sudo dd if=</path/to/file.iso> of=</dev/usb_drive> status=progress
An internet connection is required. These commands configure wifi:
nmtui
Clone and enter nix shell:
clone
Follow the instructions and reboot. Then, connect to wifi and do some manual setup:
setup-git