nix-configs

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

readme.md (1209B)


      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 * `hades` - Work WSL laptop
     15 * `ilias` - Optiplex NAS
     16 * `minerva` - Thinkpad Laptop
     17 
     18 ## Notes
     19 
     20 ### Hostnames
     21 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.
     22 
     23 ### Filesystems
     24 Filesystems are mounted via label, not UUID; so you'll want to label your drives before installing:
     25 ```
     26 nix-shell -p dosfstools
     27 sudo fatlabel /dev/sda1 NIXBOOT
     28 sudo e2label /dev/sda2 NIXROOT
     29 ```
     30 
     31 ### Upgrades
     32 All `system.stateVersion` are defined at time of install. To upgrade a system, change the channel:
     33 ```
     34 sudo nix-channel --list
     35 sudo nix-channel --add https://nixos.org/channels/nixos-26.05 nixos
     36 sudo nix-channel --update
     37 ```
     38 The home-manager version is defined in `common/home-manager.nix`.