From 4f676b1057e12a49fe47be2836f6ceb564e9b7c7 Mon Sep 17 00:00:00 2001 From: Emmet Date: Wed, 28 Feb 2024 20:17:48 -0600 Subject: [PATCH] Extra notes about autoinstall script --- README.org | 6 ++++-- install.org | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index cd26d81d..44e82c89 100644 --- a/README.org +++ b/README.org @@ -21,14 +21,16 @@ Using this I have [[./themes][55+ themes]] (I add more sometimes) I can switch b ** Install I wrote some reinstall notes for myself [[./install.org][here (install.org)]]. -TLDR: You should™ be able to install my dotfiles to an existing UEFI NixOS system with the following script: +TLDR: You should™ be able to install my dotfiles to a fresh UEFI NixOS system with the following script: #+begin_src sh :noeval nix-shell -p git --command "nix run gitlab:librephoenix/nixos-config --extra-experimental-features nix-command --extra-experimental-features flakes" #+end_src +This will clone my dotfiles to =~/.dotfiles=, and switch into both the system and home-manager configurations. Right now it only works on UEFI, and only if your EFI partition is "/boot" (which is what NixOS sets up by default on UEFI). I will try to expand this at some point, but for now, that's all it is! + Note: If you're installing this to a VM, Hyprland won't work unless 3D acceleration is enabled. -Disclaimer: If you install my =homelab= or =worklab= profiles /CHANGE THE PUBLIC SSH KEYS UNLESS YOU WANT ME TO BE ABLE TO SSH INTO YOUR SERVER. YOU CAN CHANGE OR REMOVE THE SSH KEY IN THE RELEVANT CONFIGURATION.NIX/: +Disclaimer: If you install or copy my =homelab= or =worklab= profiles, /CHANGE THE PUBLIC SSH KEYS UNLESS YOU WANT ME TO BE ABLE TO SSH INTO YOUR SERVER. YOU CAN CHANGE OR REMOVE THE SSH KEY IN THE RELEVANT CONFIGURATION.NIX/: - [[./profiles/homelab/configuration.nix][configuration.nix]] for homelab profile - [[./profiles/worklab/configuration.nix][configuration.nix]] for worklab profile diff --git a/install.org b/install.org index e10aed1b..c1151d61 100644 --- a/install.org +++ b/install.org @@ -37,6 +37,8 @@ And if you want a single copy-paste solution: nix-shell -p git --command "nix run gitlab:librephoenix/nixos-config --extra-experimental-features nix-command --extra-experimental-features flakes" #+end_src +This will clone my dotfiles to =~/.dotfiles=, and switch into both the system and home-manager configurations. Right now it only works on UEFI, and only if your EFI partition is "/boot" (which is what NixOS sets up by default on UEFI). I will try to expand this at some point, but for now, that's all it is! + At a certain point in the install script it will open =nano= (or whatever your $EDITOR is set to) and ask you to edit the =flake.nix=. You can edit as much or as little of the config variables as you like, and it will continue the install after you exit the editor. Note: If you're installing this to a VM, Hyprland won't work unless 3D acceleration is enabled. @@ -67,6 +69,7 @@ Future upgrade plans: - [ ] Be able to install directly from NixOS iso - [ ] Be able to install just home-manager config to a non-NixOS Linux distro - [ ] Be able to detect UEFI or BIOS and switch config as needed +- [ ] Be able to detect EFI mount point for systemd-boot? - [ ] ??? (open up an issue if you think there is anything else I should try to figure out) ** Manual Install Procedure