Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atkrad/dotfiles
My NixOS Configuration and Dotfiles
https://github.com/atkrad/dotfiles
dotfiles nix nix-flake nixos nixos-configuration nixos-dotfiles nixos-module
Last synced: 3 months ago
JSON representation
My NixOS Configuration and Dotfiles
- Host: GitHub
- URL: https://github.com/atkrad/dotfiles
- Owner: atkrad
- Created: 2022-12-16T16:36:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T09:50:30.000Z (4 months ago)
- Last Synced: 2024-10-23T10:10:06.782Z (3 months ago)
- Topics: dotfiles, nix, nix-flake, nixos, nixos-configuration, nixos-dotfiles, nixos-module
- Language: Nix
- Homepage:
- Size: 628 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My NixOS Configuration and Dotfiles
This repository contains the NixOS configuration and dotfiles for my machines. It includes settings for various tools and applications, such as system services, window managers, terminal emulators, and text editors. By sharing these configurations, others can learn from my setup and adapt it to their own needs.
## Table of Contents
- [Overview](#overview)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Structure](#structure)
- [Customization](#customization)
- [Acknowledgements](#acknowledgements)## Overview
The purpose of this repository is to provide a well-organized, version-controlled, and easily maintainable configuration for NixOS. It aims to make it easier for users to manage their personal computing environment and ensure consistency across multiple devices.
## Prerequisites
- A NixOS-based system
- Git## Installation
1. Clone the repository:
```shell
git clone https://github.com/atkrad/dotfiles.git ~/.dotfiles
```2. Apply the NixOS configuration:
```shell
sudo nixos-rebuild switch --flake ~/dotfiles#nixie-ci
```3. Apply the Home Manager configuration:
```shell
home-manager switch --flake ~/dotfiles#mohammad@nixie-ci
```4. Restart your system to ensure all changes take effect:
```shell
systemctl reboot -i
```## Structure
The repository is organized as follows:
- `nixos/`: Contains the main `configuration.nix` file and other NixOS-specific configurations.
- `home-manager/`: Contains configuration files for Home Manager, which manages user-specific dotfiles and settings.
- `modules/`: Contains NixOS modules for configuring specific applications or services.
- `overlays/`: Contains Nix package overlays to customize or extend the default NixOS package set.
- `pkgs/`: Contains custom packages, that can be defined similarly to ones from nixpkgs.## Customization
To customize the configuration, you can modify the relevant files within the repository. Be sure to test your changes before committing them to ensure they work as expected.
If you want to add a new package, service, or configuration, consider creating a new NixOS module within the `modules/` directory to keep the configuration modular and maintainable.
## Acknowledgements
This repository is inspired by the work and ideas of numerous NixOS community members. Feel free to use, adapt, and share this configuration as needed, but please give credit where it's due.
---
If you have any questions or suggestions, feel free to open an issue or submit a pull request. Contributions and feedback are always welcome!