From a08061e975344f21805d115e01929566a36c8d05 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Thu, 7 Mar 2024 00:26:39 -0800 Subject: add disko/nixos-anywhere configuration --- README.org | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'README.org') diff --git a/README.org b/README.org index c0b281f..a3eb947 100644 --- a/README.org +++ b/README.org @@ -8,4 +8,21 @@ Because emacs is blocking, and I want to use wayland because it's much better an much less cruft. * Installation -Simply clone this repository to ~/etc/nixos/~ and run ~sudo nixos-rebuild switch~. +Simply clone the contents of this repository to ~/etc/nixos/~ and run ~sudo nixos-rebuild switch~. +Note that afterwards you will need a ~$HOME/.password-store~ in user ~preston~ which has +an entry named ~Mail~, as well as a ~~/org/website/~ directory made by cloning my +[[https://github.com/ret2pop/ret2pop-website][ret2pop website]] repository to that location. Here are all the commands: +#+begin_src shell + # run as root + # create backup of hardware-configuration.nix and put it back there after + git clone https://github.com/ret2pop/hyprnixmacs.git /etc/nixos/ + # put hardware-configuration.nix back in /etc/nixos + nixos-rebuild switch + su preston + # copy over gpg and ssh keys + git clone root@nullring.xyz:/var/git/password-store.git ~/.password-store/ + mkdir ~/org + git clone https://github.com/ret2pop/ret2pop-website ~/org/website/ + # get music and put it in ~/music +#+end_src +this process can be highly automated via [[https://github.com/nix-community/nixos-anywhere][NixOS Anywhere]]. -- cgit