Update
This commit is contained in:
parent
b536a87854
commit
1ad4233def
12
README.md
12
README.md
@ -49,9 +49,9 @@ It's a simple way to manage your system configuration and dotfiles.
|
|||||||
|
|
||||||
## Gallery
|
## Gallery
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ It's a simple way to manage your system configuration and dotfiles.
|
|||||||
- 'guest' is a *template* that you can copy and modify for *your own system*
|
- 'guest' is a *template* that you can copy and modify for *your own system*
|
||||||
- 'themes' contains all the *themes* available (see [THEMES.md](docs/THEMES.md))
|
- 'themes' contains all the *themes* available (see [THEMES.md](docs/THEMES.md))
|
||||||
- 'modules' are some nix modules that you can import (nvidia, prime, fonts, ...)
|
- 'modules' are some nix modules that you can import (nvidia, prime, fonts, ...)
|
||||||
- 🤫 `secrets` are the secrets files encrypted with sops
|
- 🤫 `secrets` are the secrets files encrypted with sops-nix
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@ -72,10 +72,10 @@ git clone https://github.com/anotherhadi/nixy ~/.config/nixos
|
|||||||
|
|
||||||
- Copy the `hosts/guest` folder, rename it to your system name and change the variables inside the `variables.nix` file
|
- Copy the `hosts/guest` folder, rename it to your system name and change the variables inside the `variables.nix` file
|
||||||
- Add your `hardware-configuration.nix` to your new hosts folder
|
- Add your `hardware-configuration.nix` to your new hosts folder
|
||||||
- Add your 'nixosConfigurations' inside `flake.nix` (You can edit the "yourhostname" one and change the lines containing #CHANGEME)
|
- Add your 'nixosConfigurations' inside `flake.nix` (You can edit the "yourhostname" one and change the lines containing '# CHANGEME')
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo nixos-rebuild switch --flake ~/.config/nixos#your_hostname
|
sudo nixos-rebuild switch --flake ~/.config/nixos#yourhostname
|
||||||
```
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
@ -10,9 +10,9 @@ It's a simple way to manage your system configuration and dotfiles.
|
|||||||
|
|
||||||
## Gallery
|
## Gallery
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ It's a simple way to manage your system configuration and dotfiles.
|
|||||||
- 'guest' is a *template* that you can copy and modify for *your own system*
|
- 'guest' is a *template* that you can copy and modify for *your own system*
|
||||||
- 'themes' contains all the *themes* available (see [THEMES.md](docs/THEMES.md))
|
- 'themes' contains all the *themes* available (see [THEMES.md](docs/THEMES.md))
|
||||||
- 'modules' are some nix modules that you can import (nvidia, prime, fonts, ...)
|
- 'modules' are some nix modules that you can import (nvidia, prime, fonts, ...)
|
||||||
- 🤫 `secrets` are the secrets files encrypted with sops
|
- 🤫 `secrets` are the secrets files encrypted with sops-nix
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@ -33,10 +33,10 @@ git clone https://github.com/anotherhadi/nixy ~/.config/nixos
|
|||||||
|
|
||||||
- Copy the `hosts/guest` folder, rename it to your system name and change the variables inside the `variables.nix` file
|
- Copy the `hosts/guest` folder, rename it to your system name and change the variables inside the `variables.nix` file
|
||||||
- Add your `hardware-configuration.nix` to your new hosts folder
|
- Add your `hardware-configuration.nix` to your new hosts folder
|
||||||
- Add your 'nixosConfigurations' inside `flake.nix` (You can edit the "yourhostname" one and change the lines containing #CHANGEME)
|
- Add your 'nixosConfigurations' inside `flake.nix` (You can edit the "yourhostname" one and change the lines containing '# CHANGEME')
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo nixos-rebuild switch --flake ~/.config/nixos#your_hostname
|
sudo nixos-rebuild switch --flake ~/.config/nixos#yourhostname
|
||||||
```
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
@ -77,7 +77,8 @@
|
|||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
users."yourusername" = import ./home/laptop.nix; #CHANGEME
|
users."yourusername" = import # CHANGEME
|
||||||
|
./home/laptop.nix; # you can also create a new ./home/yourhostname.nix
|
||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user