Files
dotfiles/README.org
2022-04-03 07:14:01 +05:30

53 lines
1.5 KiB
Org Mode

#+TITLE: Personal Dotfiles
#+AUTHOR: Amneesh Singh
#+OPTIONS: toc:nil num:nil
#+begin_src sh
├───homeConfigurations: unknown
├───legacyPackages
warning: │ ├───aarch64-linux: 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
cd dotfiles
nixos-rebuild switch --flake .#Satori
#+end_src
or
#+begin_src sh
nixos-rebuild switch --flake "git+https://git.weirdnatto.in/natto1784/dotfiles?ref=nixos"
#+end_src
Replace ~Satori~ with whatever system you want or replace with whatever hostname you want in the config
* How home-manager workey
Just do
#+begin_src sh
nix run nixpkgs#home-manager switch -- --flake "git+https://git.weirdnatto.in/natto1784/dotfiles?ref=nixos"
#+end_src
* How packages workey
To build or run any of the packages in this flake do
#+begin_src sh
nix <"run"/"build"> "git+https://git.weirdnatto.in/natto1784/dotfiles?ref=nixos"#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