mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-22 22:53:07 +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 | ||
.jpg | ||
CONTRIBUTING.md | ||
flake.lock | ||
flake.nix | ||
hardware.nix | ||
home.nix | ||
LICENSE | ||
options.nix | ||
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.
READ THE WIKI
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, and the Hyprland cache so you don't have to build it, in your default configuration.nix by adding this:
# Enable Flakes and the new command-line tool
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};
};
- Run this command to ensure Git is installed.
nix-shell -p git
- Clone this repo.
- Then go into repo folder (stay in this folder).
- Change all options in options.nix as needed.
- Generate your hardware.nix like so:
nixos-generate-config --show-hardware-config > hardware.nix
- Run this to enable flakes and install the flake:
NIX_CONFIG="experimental-features = nix-command flakes" \
sudo nixos-rebuild switch --flake .#zaney
- Run this command:
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!
Hope you enjoy!