This is my NixOS configuration, with some help of my personal Nix guru Imatpot.
This guide is strictly for me only. If you try to use it on you machine it will most likely fail, because you do not have the same hardware as I do. So use with caution.
1 Clone this repository onto your machine
2. Cd into the appropriate host directory
3. (Optional) Update the flake with nix flake update
4. Rebuild with sudo nixos-rebuild --flake . switch
5. ❄️❄️❄️ Bathe in the glory of NixOS ❄️❄️❄️
After the installation a couple of manual steps are still necessary. They are as follows:
- Log into 1Password
- Set passwords with
passwd <user>where necessary - Log into Mozzila account for Firefox
- Log into Jetbrains account for IDEs
Secrets are managed with sops-nix in a separate repository. There are two (mostly) independent modules, one for Home Manager and one system wide.
Backups are done weekly to Backblaze B2, zipped and encrypted with GPG.
Use this command to decrypt then when necessary:
gpg --decrypt --pinentry-mode loopback --output test.zip 2025-01-02T193940.zipA list of all the PCs/Laptops and their users.
giannin- My personal userwork- User for workhtpc- User for the HTPC in the living room
arrakis- My Thinkpad P16s Gen 2caladan- My Desktopgammu- Home Theater PC
I try to style everything according to the Catppuccin Mocha Theme. If you like what you see, head over there and drop them a couple of bucks!
Run all the linters with the treefmt command. Note that the command does not install the required formatters.
treefmtThere are some hooks for formatting and the like. To use those, execute the following command:
git config --local core.hooksPath .githooks/- Fixup the 1Password configuration, which is currently split into a HM module and a system module.