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
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## 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*
|
||||
- 'themes' contains all the *themes* available (see [THEMES.md](docs/THEMES.md))
|
||||
- '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
|
||||
|
||||
@ -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
|
||||
- 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
|
||||
sudo nixos-rebuild switch --flake ~/.config/nixos#your_hostname
|
||||
sudo nixos-rebuild switch --flake ~/.config/nixos#yourhostname
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
@ -10,9 +10,9 @@ It's a simple way to manage your system configuration and dotfiles.
|
||||
|
||||
## Gallery
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## 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*
|
||||
- 'themes' contains all the *themes* available (see [THEMES.md](docs/THEMES.md))
|
||||
- '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
|
||||
|
||||
@ -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
|
||||
- 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
|
||||
sudo nixos-rebuild switch --flake ~/.config/nixos#your_hostname
|
||||
sudo nixos-rebuild switch --flake ~/.config/nixos#yourhostname
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
@ -66,10 +66,10 @@
|
||||
];
|
||||
};
|
||||
|
||||
yourhostname = nixpkgs.lib.nixosSystem { #CHANGEME
|
||||
yourhostname = nixpkgs.lib.nixosSystem { # CHANGEME
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/yourhostname/configuration.nix #CHANGEME
|
||||
./hosts/yourhostname/configuration.nix # CHANGEME
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
{
|
||||
nixpkgs.overlays = [ nur.overlay ];
|
||||
@ -77,7 +77,8 @@
|
||||
home-manager = {
|
||||
useGlobalPkgs = 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; };
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user