diff options
-rw-r--r-- | README.org | 10 | ||||
-rwxr-xr-x | stg2.sh | 5 | ||||
-rwxr-xr-x | stg3.sh | 15 |
3 files changed, 27 insertions, 3 deletions
@@ -17,15 +17,19 @@ and then on your NixOS system, run: # remove the single CHANGEME line nano ~/src/toughnix/configuration.nix - - sudo nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update - sudo nixos-rebuild switch --flake .#continuity-dell + bash ~/src/toughnix/stg2.sh + bash ~/src/toughnix/stg3.sh #+end_src Note the line where we run ~nano~; during this period you should change any hardware or person-specific settings, and also alter ~configuration.nix~ more if you are using an encrypted drive. After this process, reboot and log into your user. You will immediately be taken into Hyprland, and Emacs and Firefox will autostart. +** Troubleshooting +If you encounter an error in home-manager after building (can't start the home-manager process +because it can't resolve so-and-so hostname), run ~doas nixos-rebuild switch~, and possibly +wait a couple seconds before that. I've run into this issue before. Note that after building +this system, my system uses ~doas~ instead of ~sudo~. * Usage On your first install, you will be greeted with firefox, as well as EMacs. If Waybar doesn't appear, run ~hyprctl monitors~ in a terminal (Windows key + Enter), and you should see the monitors @@ -0,0 +1,5 @@ +cd /etc/nixos +sudo nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update +sudo nixos-rebuild switch --flake .#continuity-dell +# home manager weirdness +doas nixos-rebuild switch @@ -0,0 +1,15 @@ +#!/bin/sh +chmod 644 ~/src/toughnix/configuration.nix +chmod 644 ~/src/toughnix/home.nix +chmod 644 ~/src/toughnix/vars.nix +chmod 644 ~/src/toughnix/flake.lock +chmod 644 ~/src/toughnix/flake.nix + +doas chmod 644 /etc/nixos/configuration.nix +doas chmod 644 /etc/nixos/home.nix +doas chmod 644 /etc/nixos/vars.nix +doas chmod 644 /etc/nixos/flake.lock +doas chmod 644 /etc/nixos/flake.nix + +emacs --eval '(nerd-icons-install-fonts)' +emacs --eval '(all-the-icons-install-fonts)' |