Skip to content

c2fc2f/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36,153 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c2fc2f/dotfiles

NixOS Logo

This repository contains my personal NixOS configuration files, structured to facilitate reproducible and modular system setups using Nix Flakes and Home Manager.

Features

  • Nix Flakes: Utilizes the Nix Flakes feature for declarative and reproducible system configurations.
  • Home Manager: Manages user-specific configurations, ensuring consistency across environments.
  • Modular Design: Organized into modules for hosts and users, promoting reusability and clarity.
  • Development Shells: Provides predefined development environments for various projects.
  • Secrets Management: Handles sensitive information securely using sops.
  • CI Integration: Includes workflows for continuous integration and validation.

Repository Structure

  • flake.nix & flake.lock: Define the Nix Flake entry point and lock dependencies.
  • hosts/: Contains host-specific configurations.
  • modules/: Houses custom NixOS and Home Manager modules.
  • devshells/: Sets up development environments with necessary tools and dependencies.
  • treefmt.nix: Defines formatting standards for the codebase.

Getting Started

Prerequisites

  • Nix with Flakes enabled.
  • sops installed for secrets management.

Installation

  1. Clone the Repository:

    git clone https://github.com/c2fc2f/dotfiles.git
    cd dotfiles
  2. Review and Customize:

    Inspect the hosts/ and modules/ directories to understand the configurations. Modify them as needed to suit your environment.

  3. Apply Configuration:

    Use the following command to apply the configuration to your system:

    sudo nixos-rebuild switch --flake

Development Shells

The devshells/ directory contains configurations for development environments. To enter a development shell:

nix develop

Continuous Integration

Workflows to automate testing and validation of configurations.

License

This project is licensed under the Unlicense, dedicating it to the public domain.

About

my NixOS dotfiles

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Contributors