mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-22 14:43:08 +01:00
My main NixOS configuration. Features include a polished Hyprland environment with optional animated borders. Keyboard shortcut menu pop-down available in the top bar and so much more!
config | ||
CONTRIBUTING.md | ||
flake.lock | ||
flake.nix | ||
hardware.nix | ||
home.nix | ||
LICENSE | ||
README.md | ||
system.nix |
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.
If you want to learn more about my system, this project has a Wiki 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
- Enable flakes in your default configuration.nix by adding this:
# Enable Flakes and the new command-line tool
nix.settings.experimental-features = [ "nix-command" "flakes" ];
This file should be located at /etc/nixos/configuration.nix
- Ensure you have Git listed in your pkgs in the /etc/nixos/configuration.nix file.
- Change the hostname in the /etc/nixos/configuration.nix file.
- Rebuild your system.
sudo nixos-rebuild switch
- Reboot your system.
- Clone this repo.
- Then go into repo folder (stay in this folder)
- Change username, hostname, theme, and any other variables you may want under user information in flake.nix
- Ensure you have selected the proper cpuType and gpuType in the flake as well.
- Generate your hardware.nix like so:
nixos-generate-config --show-hardware-config > hardware.nix
- Run this command:
sudo nixos-rebuild switch --flake .
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 flake.nix!
Hope you enjoy!