aboutsummaryrefslogtreecommitdiff
path: root/TODOs.org
blob: 014aec90c39a5645368c4ac73c92c5a679d6c1c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
* Tasks
** DOING Simplify the installation of NixOS
*** DONE Preparation phase
CLOSED: [2019-05-30 Thu 20:17]
Create =burn-nixos.sh= with something like:
#+BEGIN_SOURCE shell
NIXOS_URL='https://releases.nixos.org/nixos/19.03/nixos-19.03.172764.50d5d73e22b/nixos-graphical-19.03.172764.50d5d73e22b-x86_64-linux.iso'
burn-nixos.sh "$NIXOS_URL" /dev/sdb
#+END_SOURCE
*** DOING Installation phase
**** DONE Choose proper tool
CLOSED: [2019-05-31 Fri 21:40]
=fdisk=? =gdisk=? =gparted=? Why? Why not?

=parted= allows for CLI based interactions instead of interactive only. It also supports GPT partitions, and is a GNU project :)
**** DONE Make disk partitioning declarative
CLOSED: [2019-05-31 Fri 21:40]
Not really declarative, but scripted instead.
**** DONE Always use UEFI and GPT (which I think is better)
CLOSED: [2019-05-31 Fri 21:40]
**** DONE Parameterize the disk to be partitioned
CLOSED: [2019-05-31 Fri 21:41]
So I can give the installation script an argument and reuse later on the program. Something like:
#+BEGIN_SOURCE shell
$ wget -qO- https://euandre.org/install-nixos.sh | sh -s /dev/sda
#+END_SOURCE
**** DONE Publish =install-nixos.sh= in CI run
CLOSED: [2019-05-30 Thu 23:42]
Add =publishScript= derivation and run it in builds.sr.ht.
**** DOING Partition, format and encrypt
**** TODO Properly document (in README?) how to connect to the internet
#+BEGIN_SOURCE bash
wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase SSID PASSPHRASE)
curl https://euandre.org/dotfiles/nixos/install.sh > install.sh
chmod +x ./install.sh
./install.sh
#+END_SOURCE
*** TODO Setup phase
**** TODO Fix bootstrap order of installing and importing packages
**** TODO Automate annex setup
*** TODO Document the discrete three step phases
Put all of this on the README for future easy access.
**** Steps
1. Preparing the USB stick;
2. Performing a fresh install;
3. Bootstraping the new installation's configuration and data.
** NEXT Workflow improvement
*** NEXT Finish importing mailing list emails
*** TODO Automate backup.sh
*** CANCELLED eCryptFS
LUKS already covers most of my use case and renders eCryptFS not useful.
*** DONE Automate setup of =builds.sr.ht= for other projects
CLOSED: [2019-05-31 Fri 21:43]
**** DONE Add =utils.nix= with common derivations
CLOSED: [2019-05-30 Thu 23:16]
**** CANCELLED Generate yaml from Dhall
No need, =envsubst= suffice
*** CANCELLED Put commit 50 characters limit
See https://drewdevault.com/2019/02/25/Using-git-with-discipline.html

Couldn't configure it properly right now, no impactul at all on current workflow.
** TODO Guix System
*** TODO Create =burn.sh=, =install.sh= and =setup.sh= =guix= installation scripts
*** TODO Consider using Btrfs? Why? Why not?
*** TODO Is there a Hydra equivalent for Guix? Add it to the VPS?
** TODO House keeping
*** TODO Remove borg content from repository
*** TODO Remove encrypted files from repository
*** TODO Make creation of a new shell faster
Profile =bash/bashrc.sh=.
*** TODO Improve README.org
*** TODO Remove =shellcheck disable= directives
* Nice to have
** TODO Test elfeed
* Fixes
** TODO Adjust layout for =annex.yml= tmuxinator template
** TODO Make xmodmap commands declarative
** TODO Open =.description= files with text editor