Skip to content

AlyamanMas/home-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

351 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS Configuration

NOTE: this README file is slop and quite outdated.

This repository contains the NixOS and Home Manager configurations for my systems. It's organized as a Nix Flake, allowing for reproducible and declarative system management.

Project Structure

.
├── flake.nix           # Main entry point for the Nix Flake
├── flake.lock          # Dependency lock file
├── homes/              # Home Manager configurations
│   ├── modules/        # Reusable modules for Home Manager
│   └── ypc2/           # User-specific home configuration
│   └── ypc3/           # User-specific home configuration
├── hosts/              # NixOS system configurations
│   ├── modules/        # Reusable modules for system configurations
│   ├── ypc2/           # Configuration for ypc2 machine
│   ├── ypc3/           # Configuration for ypc3 machine
│   └── YVPSH/          # Configuration for YVPSH machine
├── secrets/            # Encrypted secrets (managed by git-crypt)
└── common/             # Files that could be used by either homes or hosts

Systems

ypc2/ypc3

A desktop NixOS system with the following features:

  • Hyprland desktop environment (with GNOME as an alternative)
  • Hardware-accelerated video decoding
  • Development tools and environment
  • Local network configurations

YVPSH

Managed via Colmena for remote deployment.

Home Manager Configuration

The personal configuration for user alyaman includes:

  • Environment variables and shells
  • Various program configurations
  • Development tools and utilities

Key Features

  • Modular Design: Configurations are split into reusable modules
  • Multiple Desktop Environments: Support for both GNOME and Hyprland
  • Specializations: Different system configurations (like Intel-only mode)
  • Secret Management: Using git-crypt for sensitive information
  • Multiple System Support: Manages different machines with shared modules

Usage

Applying System Configuration

sudo nixos-rebuild switch --flake .#ypc2

Updating Home Configuration

home-manager switch --flake .#alyaman

Development

The repository uses pre-commit hooks and includes a formatter configuration for consistent code style.

nix fmt  # Format Nix code according to RFC style

License

This configuration is for personal use, but feel free to use it as a reference for your own configurations.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published