Added README.md

This commit is contained in:
2026-02-03 21:24:21 +01:00
parent e18a381edd
commit af92d881fe
2 changed files with 27 additions and 0 deletions

27
README.md Normal file
View File

@@ -0,0 +1,27 @@
# NixOS configuration
My own NixOS configuration, made for myself so probably won't suit you well.
![Screenshot](assets/gnome.png)
## How to install
1) Clone the repo
```bash
git clone git@github.com:Superredstone/nixos.git ~/.nixos && cd .nixos
```
2) Choose an hostname
3) Copy your current configuration inside of `machines/$HOSTNAME`
4) Create a file named `machines/$HOSTNAME/default.nix` with the following contents
```nix
{ ... }:
{
imports = [
./configuration.nix
];
}
```
5) Switch to the new configuration
```bash
HOSTNAME=HOSTNAME just switch
```

BIN
assets/gnome.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 KiB