zaneyos/README.md

45 lines
1.3 KiB
Markdown
Raw Normal View History

2023-12-13 23:33:53 +01:00
# 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 and hostname in flake.nix.*
2023-12-13 23:33:53 +01:00
2024-01-24 09:02:28 +01:00
![](./config/home/files/media/demo.jpg)
2023-12-13 23:33:53 +01:00
## READ THE WIKI
If you want to learn more about my system, [this project has a Wiki](https://gitlab.com/Zaney/zaneyos/-/wikis/home) that explains a ton. It even explains what NixOS is why you may want to choose it and so much more.
# Install / Steps To Reproduce My System
2023-12-15 07:56:25 +01:00
2024-02-12 06:40:37 +01:00
- Run this command to ensure Git is installed:
2024-02-02 08:36:37 +01:00
```
nix-shell -p git vim
2024-02-02 08:36:37 +01:00
```
2024-02-12 06:40:37 +01:00
- Clone this repo & enter it:
```
git clone https://gitlab.com/zaney/zaneyos.git
cd zaneyos
```
- *You should stay in this folder for the rest of the install*
- Change any options in options.nix as needed.
2024-01-18 08:16:28 +01:00
- Generate your hardware.nix like so:
```
2024-01-18 08:16:28 +01:00
nixos-generate-config --show-hardware-config > hardware.nix
```
2023-12-15 07:56:25 +01:00
2024-02-12 06:35:45 +01:00
- Run this to enable flakes and install the flake:
2023-12-15 07:56:25 +01:00
2024-01-09 23:50:24 +01:00
```
NIX_CONFIG="experimental-features = nix-command flakes"
sudo nixos-rebuild switch --flake .#thehostnameyousetinoptions.nix
2024-01-09 23:50:24 +01:00
```
2023-12-15 07:56:25 +01:00
2024-02-08 22:49:08 +01:00
Now when you want to rebuild the configuration you have access to an alias called flake-rebuild that will rebuild the flake based of the flakeDir variable you set in options.nix!
2023-12-15 07:56:25 +01:00
Hope you enjoy!