add readme and license
This commit is contained in:
parent
726c8e0dec
commit
5659d4cd32
2 changed files with 39 additions and 0 deletions
21
LICENSE
Normal file
21
LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2024 liv
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
18
README.md
Normal file
18
README.md
Normal 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.
|
Loading…
Add table
Reference in a new issue