add readme and license

This commit is contained in:
insects 2024-08-13 20:40:52 +02:00
parent 726c8e0dec
commit 5659d4cd32
2 changed files with 39 additions and 0 deletions

18
README.md Normal file
View file

@ -0,0 +1,18 @@
# my nix flake
This controls both my NixOS-powered computers, but also my home environment, including dotfiles, on almost everything
else.
If you're me, and the machine you're installing on has a configuration, it's as simple as:
```sh
git clone forgejo@cirno.with.al:shadows_withal/nix-config.git ~/nix-config
cd ~/nix-config
nix-shell
# for nixos:
sudo nixos-rebuild switch --flake .
# for home-manager
home-manager switch --flake .#lu@HOSTNAME
```
Feel free to brutalize as much of this config as you want for your own purposes.