This documentation provides an overview of the NixOS configuration setup, including flake configuration, system configuration, user configuration, and Home Manager integration.
The flake.nix
file serves as the main entry point for the NixOS configuration flake.
nixpkgs
: Nixpkgs repository for NixOS unstable.home-manager
: Integration of Home Manager for user-specific configurations.hyprland
: Package necessary for the Window Manager configuration.
nixosConfigurations
: Defines system configurations.
- Bootloader, Filesystems, Networking, Time Zone, Internationalization, Services, Programs, Security, Fonts, User Account.
- Manages user-specific configurations.
- Sets username, home directory, and additional packages.
- Defines session variables and enables Home Manager.
- Automatically generated file containing hardware configuration.
development/default.nix
: IDEs and development tools.development/ides.nix
: IDE configurations.development/tools.nix
: Development tools configurations.programs/default.nix
: Miscellaneous programs.programs/alacritty/default.nix
: Alacritty terminal configuration.programs/misc/*.nix
: Miscellaneous program configurations.programs/zsh/default.nix
: Zsh shell configuration.
-
Clone the Repository: Clone your NixOS configuration repository to your local machine.
git clone https://github.com/enchanted-coder/nix-config/
-
Navigate to Configuration Directory: Move to the directory containing your NixOS configuration files.
cd <repository_directory>/nixos-config/
-
Build and Activate Configuration: Run the following command to build and activate your NixOS configuration.
nixos-rebuild switch --flake .#shadow