Change README
This commit is contained in:
@@ -1,12 +1,47 @@
|
|||||||
# ❄️ My NixOS Config
|
# ❄️ My NixOS Config
|
||||||
|
|
||||||
```bash
|
This configuration is based on [&'s config](https://github.com/Andrey0189/nixos-config)
|
||||||
git clone https://github.com/Andrey0189/nixos-config
|
|
||||||
mv nixos-config $HOME/nix # Config is supposed to be in the ~/nix directory
|
## Users
|
||||||
cd $HOME/nix
|
- [Sweetbread](./user/sweetbread)
|
||||||
sudo nixos-rebuild switch --flake .
|
- [Chest](./user/chest)
|
||||||
home-manager switch --flake .
|
|
||||||
|
## Hosts
|
||||||
|
- [Rias](./host/Rias)
|
||||||
|
- [Senko](./host/Senko)
|
||||||
|
- [Eclipse](./host/Eclipse)
|
||||||
|
- [Impreza](./host/Impreza)
|
||||||
|
|
||||||
|
## How does this work?
|
||||||
|
The [flake](./flake.nix) file is the starting point. While installing/rebuilding
|
||||||
|
the correct `host` is chosen, which includes `./host/${host}/configuration.nix`.
|
||||||
|
|
||||||
|
It includes 2 (actually, more, but hey!) files:
|
||||||
|
- [`./host/modules/common.nix`](./host/modules/common.nix): Common setting
|
||||||
|
for all hosts (I don't say)
|
||||||
|
- [`./user/common.nix`](./user/common.nix): Common settings for all users (you
|
||||||
|
got the idea) and setup of [home-manager](https://github.com/nix-community/home-manager)
|
||||||
|
|
||||||
|
It allows me to remove duplications and add multiple users to one host
|
||||||
|
|
||||||
|
Example with Rias:
|
||||||
```
|
```
|
||||||
Enjoy!
|
./host/Rias/configuration.nix
|
||||||
|
./host/Rias/modules/*
|
||||||
|
./host/modules/gpu/nvidia.nix
|
||||||
|
./host/modules/common.nix
|
||||||
|
./host/Rias/hardware-configuration.nix
|
||||||
|
./modules/host.nix
|
||||||
|
./modules/host/*
|
||||||
|
./host/modules/packages.nix
|
||||||
|
./user/common.nix
|
||||||
|
./user/sweetbread/home.nix
|
||||||
|
./user/sweetbread/modules/*
|
||||||
|
./modules/user.nix
|
||||||
|
./modules/user/*
|
||||||
|
```
|
||||||
|
|
||||||
|
## Programs
|
||||||
|
Most of programs are defined in [user modules](./modules/user)
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
My desktop
|
||||||
|
|
||||||
|
- **CPU:** Intel i5-10600KF
|
||||||
|
- **GPU:** NVidia GeForce RTX 3060 Ti
|
||||||
|
- **RAM:** 32GB
|
||||||
|
- **SSD:** 512GB
|
||||||
|
- **HDD:** 1TB
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
My laptop `HP Pavilion 15-cb012ur`
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
My gf
|
||||||
|
|
||||||
|
- **Theme:** eris
|
||||||
|
- **Cursor:** [Miku](https://ko-fi.com/s/dcea0e990f)
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
My config
|
||||||
|
|
||||||
|
- **Theme:** [Catppuccin](https://catppuccin.com) Mocha
|
||||||
|
- **Cursor:** [\[Date A Live\] Kurumi Tokisaki](https://ko-fi.com/s/66a6c36df1)
|
||||||
Reference in New Issue
Block a user