mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-26 00:23:10 +01:00
Variables Working & Updated README Instructions
This commit is contained in:
parent
980f2facae
commit
efff74dffe
@ -1,6 +1,6 @@
|
|||||||
# ZaneyOS 🟰 Best ❄️ NixOS Configs
|
# ZaneyOS 🟰 Best ❄️ NixOS Configs
|
||||||
|
|
||||||
ZaneyOS is a way of reproducing my configuration on any NixOS system. This includes the wallpaper, scripts, applications, config files, and more. *Please remember to change username in flake.nix, home.nix, and the configuration.nix.*
|
ZaneyOS is a way of reproducing my configuration on any NixOS system. This includes the wallpaper, scripts, applications, config files, and more. *Please remember to change username and hostname in flake.nix.*
|
||||||
|
|
||||||
![](demo.jpg)
|
![](demo.jpg)
|
||||||
|
|
||||||
@ -37,7 +37,12 @@ NixOS has an active community that contributes to its growth, sharing configurat
|
|||||||
# Steps To Reproduce My System
|
# Steps To Reproduce My System
|
||||||
|
|
||||||
|
|
||||||
Clone this repo, replace your hardware-configuration.nix with the one inside the workstation folder, enable flakes in your default configuration.nix, then go into repo folder and run this command:
|
- Clone this repo
|
||||||
|
- Change username and hostname in flake.nix
|
||||||
|
- Replace your hardware-configuration.nix with the one inside the workstation or laptop folders
|
||||||
|
- Enable flakes in your default configuration.nix
|
||||||
|
- Rebuild your system
|
||||||
|
- Then go into repo folder and run this command:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo nixos-rebuild switch --flake .#workstation
|
sudo nixos-rebuild switch --flake .#workstation
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
specialArgs = { inherit system; inherit inputs; inherit username; inherit hostname; };
|
specialArgs = { inherit system; inherit inputs; inherit username; inherit hostname; };
|
||||||
modules = [ ./workstation/configuration.nix
|
modules = [ ./workstation/configuration.nix
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
|
home-manager.extraSpecialArgs = { inherit username; };
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.${username} = import ./home.nix;
|
home-manager.users.${username} = import ./home.nix;
|
||||||
|
Loading…
Reference in New Issue
Block a user