nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

readme.md (1181B)


      1 # Nix Configs
      2 
      3 An effort to merge my [dotfiles](https://github.com/breadcat/dotfiles), [dockerfiles](https://github.com/breadcat/Dockerfiles) and [ahk-assistant](https://github.com/breadcat/ahk-assistant) in a declarative way.
      4 
      5 Amend your `variables.nix`, then run:
      6 ```
      7 sudo nixos-rebuild -I nixos-config=entrypoint.nix switch
      8 ```
      9 
     10 ## Machines
     11 * `arcadia` - Intel NUC HTPC
     12 * `artemis` - Ampere VPS
     13 * `atlas` - Gaming workstation
     14 * `ilias` - Optiplex NAS
     15 * `minerva` - Thinkpad Laptop
     16 
     17 ## Notes
     18 
     19 ### Hostnames
     20 I'm intentionally avoiding using flakes for this project, so you'll need to set your hostname to one of the above, then run the switch command at the top.
     21 
     22 ### Filesystems
     23 Filesystems are mounted via label, not UUID; so you'll want to label your drives before installing:
     24 ```
     25 nix-shell -p dosfstools
     26 sudo fatlabel /dev/sda1 NIXBOOT
     27 sudo e2label /dev/sda2 NIXROOT
     28 ```
     29 
     30 ### Upgrades
     31 All `system.stateVersion` are defined at time of install. To upgrade a system, change the channel:
     32 ```
     33 sudo nix-channel --list
     34 sudo nix-channel --add https://nixos.org/channels/nixos-25.11 nixos
     35 sudo nix-channel --update
     36 ```
     37 The home-manager version is defined in `common/home-manager.nix`.