No description
  • Nix 57.2%
  • Lua 35.2%
  • Python 4.5%
  • Shell 1.8%
  • CSS 1.3%
Find a file
Petr Pechkurov a4f797912a
Update nvim
2026-01-20 08:15:50 +01:00
.git-crypt Add 1 git-crypt collaborator 2025-03-22 11:36:36 +03:00
hosts Add VSCode diff nvim and rds connector 2025-12-26 06:36:30 +01:00
modules Update nvim 2026-01-20 08:15:50 +01:00
.envrc add agenix, vps config and wireguard 2025-05-04 17:33:02 +03:00
.gitattributes refactor vps and wireguard modules 2025-05-16 18:00:48 +02:00
.gitignore add agenix, vps config and wireguard 2025-05-04 17:33:02 +03:00
flake.lock Add deploy-rs nodes 2025-11-08 16:17:37 +03:00
flake.nix Sync 2025-12-04 19:42:15 +03:00
globals.nix Sync 2025-12-04 19:42:15 +03:00
README.md move config to the root dir 2024-06-28 11:07:01 +03:00
secrets.nix add on backup failed notifications 2025-07-20 17:50:40 +03:00

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

  1. Clone the Repository: Clone your NixOS configuration repository to your local machine.

    git clone https://github.com/ppechkurov/.dotfiles.git
    
  2. Build and Activate Configuration: Run the following command to build and activate your NixOS configuration.

    sudo nixos-rebuild switch --flake .#<host-name>