mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Added README.md
This commit is contained in:
27
README.md
Normal file
27
README.md
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# NixOS configuration
|
||||||
|
|
||||||
|
My own NixOS configuration, made for myself so probably won't suit you well.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 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
BIN
assets/gnome.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 616 KiB |
Reference in New Issue
Block a user