add a bunch of configs
This commit is contained in:
38
README.md
38
README.md
@@ -1,18 +1,40 @@
|
||||
# OCbwoy3's Dotfiles
|
||||
|
||||
**Default values you should change. There is no point hiding them as you'll find them in the code anyway:**
|
||||
|
||||
- User: `ocbwoy3`
|
||||
- Password: `password`
|
||||
- Git creds: `OCbwoy3 <ocbwoy3@ocbwoy3.dev>`
|
||||
|
||||
**Prerequisites:**
|
||||
|
||||
- NixOS
|
||||
- Knowledge of the terminal
|
||||
|
||||
# How to install
|
||||
|
||||
step 1. install base nixos using the commandline (without ui and bloat) with this disk config (assuming it's /dev/sda)
|
||||
|
||||
```
|
||||
/dev/sda1 - 1G fat32 fmask=0022 dmask=0022 vfat
|
||||
mounts to /boot
|
||||
|
||||
# optionally add compress=zstd (which i forgot to do)
|
||||
|
||||
/dev/sdb2 - 100% btrfs
|
||||
subvol root -> /
|
||||
noatime subvol nix -> /nix
|
||||
subvol home -> /home
|
||||
subvol root -> /root
|
||||
```
|
||||
|
||||
step 2. create user named 'ocbwoy3'
|
||||
|
||||
step 3.
|
||||
|
||||
```bash
|
||||
cd ~
|
||||
nix run nixpkgs#git clone https://github.com/ocbwoy3/config
|
||||
nix-shell -p git
|
||||
```
|
||||
|
||||
once you're in the shell
|
||||
|
||||
```bash
|
||||
git clone https://github.com/ocbwoy3/config
|
||||
cd config
|
||||
sudo nixos-rebuild switch --flake .#default --impure --cores 4
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user