update notes

This commit is contained in:
draco 2024-08-23 01:55:29 -04:00
parent 4c57c741be
commit cdb9232d9f

28
todo.md
View file

@ -3,12 +3,16 @@
## Figure out how to auto-initialize fish/tide configuration
Could probably read through the tide variable set to figure this out, just haven't done it yet. For now this command should initialize things correctly:
```tide configure --auto --style=Rainbow --prompt_colors='True color' --show_time='24-hour format' --rainbow_prompt_separators=Vertical --powerline_prompt_heads=Round --powerline_prompt_tails=Flat --powerline_prompt_style='Two lines, character' --prompt_connection=Disconnected --powerline_right_prompt_frame=No --prompt_spacing=Compact --icons='Many icons' --transient=No```
```
tide configure --auto --style=Rainbow --prompt_colors='True color' --show_time='24-hour format' --rainbow_prompt_separators=Vertical --powerline_prompt_heads=Round --powerline_prompt_tails=Flat --powerline_prompt_style='Two lines, character' --prompt_connection=Disconnected --powerline_right_prompt_frame=No --prompt_spacing=Compact --icons='Many icons' --transient=No
```
## tailscale setup
Need to connect new devices to the coordinator in order to access the tailscale network.
```sudo tailscale up --login-server=https://headscale.hive.smrsh.net```
```
sudo tailscale up --login-server=https://headscale.hive.smrsh.net
```
## Refactor machine defaults
Could probably merge some of the default locale settings and stuff, maybe even make the x11 config more generic
@ -19,3 +23,23 @@ and the programs and throw them into /etc/nixos, then you need to grab the dotfi
in .config... this is all done by hand. There should be a way using either `nix`, or `stow`, or `chezmoi`,
or some other already extant tool to do this in a slightly more automated fashion. The point of
this is to be easy for me to use and keep up with after all.
## Change WSL default username:
If you want to change the default username to something other than `nixos`, use the `wsl.defaultUser` option.
When building your own tarball, this should be sufficient. A user with the name specified in that option will be created automatically.
Changing the username on an already installed system is possible as well.
Follow these instructions to make sure, the change gets applied correctly:
1. Change the `wsl.defaultUser` setting in your configuration to the desired username.
2. Apply the configuration:\
`sudo nixos-rebuild boot`\
Do not use `nixos-rebuild switch`! It may lead to the new user account being misconfigured.
3. Exit the WSL shell and stop your NixOS distro:\
`wsl -t NixOS`.
4. Start a shell inside NixOS and immediately exit it to apply the new generation:\
`wsl -d NixOS --user root exit`
5. Stop the distro again:\
`wsl -t NixOS`
6. Open a WSL shell. Your new username should be applied now!