nixos/README.md
2024-06-18 12:10:45 +02:00

3.7 KiB





Nixy

Nixy is a Hyprland NixOS configuration with home-manager, secrets and custom theming all in one place. It's a simple way to manage your system configuration and dotfiles.

Table of Content

nixy1 nixy2 nixy3

Architecture

  • 🏠 home are the dotfiles and configuration files for the user
  • 💻 hosts are the system configuration files
    • 'laptop' is my own configuration for my laptop with nvidia
    • 'server' is for my nixos server (w/nextcloud, nginx, vaultwarden, ... look hosts/modules/server)
    • 'guest' is a template that you can copy and modify for your own system
    • 'themes' contains all the themes available (see THEMES.md)
    • 'modules' are some nix modules that you can import (nvidia, prime, fonts, ...)
  • 🤫 secrets are the secrets files encrypted with sops

Installation

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)
sudo nixos-rebuild switch --flake ~/.config/nixos#your_hostname

Documentation