restructured again

This commit is contained in:
2021-05-16 08:00:04 +05:30
parent a3e2fa3b5a
commit 7578463af7
30 changed files with 164 additions and 58 deletions

View File

@@ -2,22 +2,33 @@
## TODO
1. Add user specific traditional dotfiles.
2. ~~Try home-manager for nix~~ (Still in the middle of updating)
2. ~~Try home-manager~~
3. ~~Try nix flakes~~
## How install workey
either do
```
git clone https://github.com/natto1784/dotfiles
cd dotfiles
nixos-rebuild switch --flake .
nixos-rebuild switch --flake .#Satori
```
or
`nixos-rebuild switch --flake github:natto1784/dotfiles#Satori`
Replace Satori with whatever system you want or replace to whatever hostname you want in the config
## How home-manager workey
Either clone repo and do `./hm-switch` inside it (ofc change the username in the flake to yours dum dum)\
Either clone repo and do `./hm-switch` inside it (login as the user you want to change config as!!!)
or
```
nix build github:natto1784/dotfiles#hm-configs.{USER}.activationPackage -o allah
./allah/activate
nix build github:natto1784/dotfiles#hm-configs.{USER}.activationPackage -o hm-result
./hm-result/activate
```
You can unlink allah afterwards
(replace {USER} with 'natto' or whatever username there is in flake.nix, retard)
You can unlink "hm-result" after that
replace {USER} with 'natto' or whatever is availabe (or change it in the config)
Following are the people whose configs I took inspiration from and learned stuff from
- @fufexan
- @NobbZ
- @dramforever
I'm thankful to all of them