README.md -> README.org
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,4 +2,5 @@
|
|||||||
\#*\#
|
\#*\#
|
||||||
.*.~*~
|
.*.~*~
|
||||||
~*~
|
~*~
|
||||||
*.*~
|
*~
|
||||||
|
*.html
|
||||||
|
38
README.md
38
README.md
@@ -1,38 +0,0 @@
|
|||||||
# Personal Dotfiles
|
|
||||||
|
|
||||||
## TODO
|
|
||||||
1. Add user specific traditional dotfiles.
|
|
||||||
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 .#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 (login as the user you want to change config as!!!)
|
|
||||||
or
|
|
||||||
```
|
|
||||||
nix build github:natto1784/dotfiles#hm-configs.{USER}.activationPackage -o hm-result
|
|
||||||
./hm-result/activate
|
|
||||||
```
|
|
||||||
You can unlink "hm-result" after that
|
|
||||||
replace {USER} with 'natto' or whatever is availabe (or change it in the config)
|
|
||||||
|
|
||||||
## How packages workey
|
|
||||||
To build or run any of the packages in this flake do\
|
|
||||||
`nix <"run"/"build"> github:natto1784/dotfiles#pkgs.<your_arch>.<package_name>`
|
|
||||||
|
|
||||||
Following are the people whose configs I took inspiration from and learned stuff from
|
|
||||||
- [fufexan](https://github.com/fufexan)
|
|
||||||
- [NobbZ](https://github.com/NobbZ)
|
|
||||||
- [dramforever](https://github.com/dramforever)
|
|
||||||
|
|
||||||
I'm grateful to all of them
|
|
60
README.org
Normal file
60
README.org
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
#+TITLE: Personal Dotfiles
|
||||||
|
#+AUTHOR: Amneesh Singh
|
||||||
|
#+OPTIONS: toc:nil num:nil
|
||||||
|
|
||||||
|
#+begin_src sh
|
||||||
|
├───hm-configs: unknown
|
||||||
|
├───legacyPackages
|
||||||
|
warning: │ ├───aarch64-darwin: omitted (use '--legacy' to show)
|
||||||
|
warning: │ ├───aarch64-linux: omitted (use '--legacy' to show)
|
||||||
|
warning: │ ├───i686-linux: omitted (use '--legacy' to show)
|
||||||
|
warning: │ ├───x86_64-darwin: omitted (use '--legacy' to show)
|
||||||
|
warning: │ └───x86_64-linux: omitted (use '--legacy' to show)
|
||||||
|
└───nixosConfigurations
|
||||||
|
├───Marisa: NixOS configuration
|
||||||
|
├───Remilia: NixOS configuration
|
||||||
|
└───Satori: NixOS configuration
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
* TODOs
|
||||||
|
+ TODO Add user specific traditional dotfiles.
|
||||||
|
+ DONE Try home-manager
|
||||||
|
+ DONE Try nix flakes
|
||||||
|
|
||||||
|
* How install workey
|
||||||
|
Either do
|
||||||
|
#+begin_src sh
|
||||||
|
git clone https://github.com/natto1784/dotfiles
|
||||||
|
cd dotfiles
|
||||||
|
nixos-rebuild switch --flake .#Satori
|
||||||
|
#+end_src
|
||||||
|
or
|
||||||
|
#+begin_src sh
|
||||||
|
nixos-rebuild switch --flake github:natto1784/dotfiles#Satori
|
||||||
|
#+end_src
|
||||||
|
Replace ~Satori~ with whatever system you want or replace with whatever hostname you want in the config
|
||||||
|
|
||||||
|
* How home-manager workey
|
||||||
|
Either clone repo and do ~./hm-switch~ inside it (login as the user you want to change config as!!!)
|
||||||
|
or
|
||||||
|
#+begin_src sh
|
||||||
|
nix build github:natto1784/dotfiles#hm-configs.{USER}.activationPackage -o hm-result
|
||||||
|
./hm-result/activate
|
||||||
|
#+end_src
|
||||||
|
You can unlink ~hm-result~ after that
|
||||||
|
replace ~{USER}~ with ~natto~ or whatever is availabe (or change it in the config)
|
||||||
|
|
||||||
|
* How packages workey
|
||||||
|
To build or run any of the packages in this flake do\
|
||||||
|
#+begin_src sh
|
||||||
|
nix <"run"/"build"> github:natto1784/dotfiles#pkgs.<your_arch>.<package_name>
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
|
* I took help from these people and their dotfiles
|
||||||
|
+ [[https://github.com/fufexan][fufexan]]
|
||||||
|
+ [[https://github.com/NobbZ][NobbZ]]
|
||||||
|
+ [[https://github.com/dramforever][dramforever]]
|
||||||
|
|
||||||
|
I'm grateful to all of them
|
@@ -307,6 +307,11 @@ For autocomplete
|
|||||||
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))
|
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
*** Add helper packages for exporting
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package htmlize)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Misc packages
|
** Misc packages
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package elcord
|
(use-package elcord
|
||||||
|
Reference in New Issue
Block a user