Skip to content

NixOS+ + Home-Manager dotfiles/nixfiles repository

License

Notifications You must be signed in to change notification settings

simonoscr/dotfiles

Repository files navigation

built with nix-flake NixOS unstable

pre-commit pipeline status Latest Release



NixOS logo

Intro

Hello and welcome to my NixOS setup. Please be aware that I'm still in the early stages of learning all this. The setup here was created with the help of multiple examples and inspiration from other dotfile and nix-config repositories (see Credits).

Feel free to borrow ideas from my configurations, but keep in mind that they might not always represent the best or most correct approach and make sure you've grasped the basics of NixOS, Nix, Flakes, and Home-Manager.

Important

This repository is a work in progress, and I'm constantly learning more about NixOS, Nix, Flakes, and Home-Manager.

❄️ System Components

NixOS - Wayland NixOS - Xorg
Display Manager greetd/tuigreet greetd/tuigreet
Window Manager Hyprland i3
Bar Ags i3status
Terminal Kitty Kitty
Shell zsh + Starship zsh + Starship
Text Editor Nixvim(Neovim) Nixvim(Neovim)
Code Editor VSCodium/Zed VSCodium/Zed
System resource monitor btop btop

Systems

MainPC - NixOS Server - NixOS
Name Desktop Server
CPU AMD Ryzen 7 7800X3D Intel® Processor Alder Lake-N100
GPU AMD Radeon RX 7800 XT Intel UHD Graphics
RAM 32GB DDR5-6000 16GB DDR4-3200
Mainboard MSI MAG B650 Tomahawk shit
SSD 2TB NVMe 500GB NVMe

Features

  • nix-flake: Manage NixOS and Home-Manager configurations.

  • flake-parts: A good way to manage flake with less boilerplate.

  • home-manager: Manage your dotfiles, home environment, and user-specific configurations with Home Manager.

  • nh: "yet-another-nix-helper". nh reimplements some basic nix commands. Adding functionality on top of the existing solutions, like nixos-rebuild, home-manager cli or nix itself.

❄️ Repo Layout

  • wiki

  • home: This folder contains configurations for home-manager. In the profiles subfolder are the differenct home-manager profiles. Here i have everything user related in it.

  • hosts: The hosts/ folder helps me organize my different hosts. At the moment there are two hosts: My Desktop PC and my Home-Server.

  • system: This folder contains everything thats is nixos related. Like program, service, network and nix configuration itself. Like the counterpart of the home/ folder for system-wide things.

Search

Guides

Credits

My repository is inspired by a diverse range of dotfiles and nix-configurations repositories across GitHub, GitLab (and maybe Codeberg). While I've gathered ideas from numerous places, there are a few key repositories that significantly influenced this repository:

  • fufexan Dotfiles
    • helped me very much to find a good repository structure and also good and clean .nix configurations and i learned from his repos how to build with nix
  • Matt Dotfiles
    • also borrowed a little structure and content of .nix files
  • ryan4yin nix-config
    • helped me a lot for server related configurations
  • Aylur dotfiles
    • thank you very much for ags config