Files
dotfiles/README.org
2022-03-19 00:22:30 +05:30

1.9 KiB

Personal Dotfiles

├───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

TODOs

  • TODO Add user specific traditional dotfiles.
  • DONE Try home-manager
  • DONE 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 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

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>

I took help from these people and their dotfiles

I'm grateful to all of them