Skip to content

❄️ NixOS and Home Manger Configuration(s)

License

Notifications You must be signed in to change notification settings

MasterEvarior/nix-config

Repository files navigation

❄️ NixOS Configuration

Nix GitHub Actions Workflow Status

This is my NixOS configuration, with some help of my personal Nix guru Imatpot.

How to use

Setup

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 ❄️❄️❄️

Manuel Steps

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

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

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.zip

Resources

A list of all the PCs/Laptops and their users.

Users

  • giannin - My personal user
  • work - User for work
  • htpc - User for the HTPC in the living room

Hosts

  • arrakis - My Thinkpad P16s Gen 2
  • caladan- My Desktop
  • gammu- Home Theater PC

Theming

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!

Development

Linting

Run all the linters with the treefmt command. Note that the command does not install the required formatters.

treefmt

Git Hooks

There are some hooks for formatting and the like. To use those, execute the following command:

git config --local core.hooksPath .githooks/

TODOs

About

❄️ NixOS and Home Manger Configuration(s)

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •