mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-21 09:40:38 -05:00
Create README.md
This commit is contained in:
parent
b0731ec05c
commit
e4dd6cddd0
20
README.md
Normal file
20
README.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# nixcfg
|
||||
|
||||
## Deploying to NixOS
|
||||
> :red_circle: **READ**: **Do not deploy this flake directly to your machine. It won't work.**
|
||||
> This is my own NixOS and home-manager flake for my personal devices.
|
||||
> This includes laptops running nixos-unstable and a home lab/gaming desktop running [Slateblue](https://github.com/alyraffauf/slateblue),
|
||||
> a customized [Fedora Silverblue](https://fedoraproject.org/atomic-desktops/silverblue/) image made with [BlueBuild](https://github.com/blue-build/template).
|
||||
> Each hardware-configuration is host-specific. If you fork this repository, replace them with the hardware-configuration.nix that NixOS generates for you.
|
||||
|
||||
### Enabling Flakes
|
||||
Add the following lines to your `configuration.nix` and rebuild.
|
||||
```nix
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
```
|
||||
### Building Flake
|
||||
Run the following command.
|
||||
```bash
|
||||
sudo nixos-rebuild boot --flake github:alyraffauf/nixcfg
|
||||
```
|
||||
Reboot and the flake's configuration will be applied.
|
Loading…
Reference in a new issue