My personal NixOS configurations
nix
Find a file
2023-09-09 19:22:11 +02:00
hardware temporary fix for recursion, remove duplicate hostname in main config 2023-09-09 19:22:11 +02:00
modules temporary fix for recursion, remove duplicate hostname in main config 2023-09-09 19:22:11 +02:00
.gitignore seperate home volume 2023-09-06 22:01:29 +02:00
LICENSE Create LICENSE 2023-04-04 22:19:39 +02:00
README.md setup desktop with nixos 2023-08-27 13:28:13 +02:00
vinzenz-lpt.nix temporary fix for recursion, remove duplicate hostname in main config 2023-09-09 19:22:11 +02:00
vinzenz-pc3.nix temporary fix for recursion, remove duplicate hostname in main config 2023-09-09 19:22:11 +02:00

nixos-configuration

When adding a new host:

  1. install NixOS via the graphical installer
  2. mv /etc/hardware-configuration ./devicename-hardware-configuration.nix
  3. copy an existing devicename.nix
  4. change import to new-devicename-hardware-configuration.nix
  5. set the hostname and optional imports in new-devicename.nix
  6. ln -s ./new-devicename.nix /etc/nixos/configuration.nix
  7. sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager
  8. apply