mirror of
https://github.com/ppechkurov/.dotfiles.git
synced 2026-03-07 05:33:46 +03:00
No description
- Nix 57.2%
- Lua 35.2%
- Python 4.5%
- Shell 1.8%
- CSS 1.3%
| .git-crypt | ||
| hosts | ||
| modules | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| globals.nix | ||
| README.md | ||
| secrets.nix | ||
Nixos Configuration
Overview
This documentation provides an overview of the NixOS configuration setup, including flake configuration, system configuration, user configuration, and Home Manager integration.
flake.nix
Description
The flake.nix file serves as the main entry point for the NixOS configuration flake.
Inputs
nixpkgs: Nixpkgs repository for NixOS unstable.home-manager: Integration of Home Manager for user-specific configurations.hyprland: Package necessary for the Window Manager configuration.
Outputs
nixosConfigurations: Defines system configurations.
configuration.nix (hosts/*)
System Configuration
- Bootloader, Filesystems, Networking, Time Zone, Internationalization, Services, Programs, Security, Fonts, User Account.
Home Manager Integration
- Manages user-specific configurations.
home.nix (hosts/*)
User Configuration
- Sets username, home directory, and additional packages.
- Defines session variables and enables Home Manager.
hardware-configuration.nix
- Automatically generated file containing hardware configuration.
Hosts (hosts/*)
- hosts/home - home pc
- hosts/work - work pc
Modules (modules/*)
- All modules for NixOS or Home Manager
Instructions for Replication
-
Clone the Repository: Clone your NixOS configuration repository to your local machine.
git clone https://github.com/ppechkurov/.dotfiles.git -
Build and Activate Configuration: Run the following command to build and activate your NixOS configuration.
sudo nixos-rebuild switch --flake .#<host-name>