Awesome
<h1 align="center">❄️ Nix Flake</h1> <p align="center"> <em>Declare Nix System as Code</em> </p> <p align="center"> <img src="https://custom-icon-badges.herokuapp.com/github/license/piyoki/nixos-config?style=flat&logo=law&colorA=24273A&color=blue" alt="License"/> <img src="https://custom-icon-badges.herokuapp.com/badge/Hyprland-latest-000.svg?style=flat&logo=hypr&colorA=24273A&colorB=6CC5D9&logoColor=CAD3F5"/> <img src="https://img.shields.io/static/v1?label=Nix Flake&message=check&style=flat&logo=nixos&colorA=24273A&colorB=9173ff&logoColor=CAD3F5"> <img src="https://img.shields.io/badge/NixOS-unstable-informational.svg?style=flat&logo=nixos&logoColor=CAD3F5&colorA=24273A&colorB=8AADF4"> <img src="https://custom-icon-badges.herokuapp.com/github/last-commit/piyoki/nixos-config?style=flat&logo=history&colorA=24273A&colorB=C4EEF2" alt="lastcommit"/> </p>[!NOTE] This repo contains the declarative configuration of a few NixOS systems, with ~100% config nixfied.
Introduction
As the date of writing (March 2024), I've committed myself switching to NixOS on my daily-drivers and a few servers. This repository reflects my current multi-profile NixOS configuration with Flake. I'd like to actively learn more about Nix, specially NixOS with Flake. In my view, NixOS is a revolutionary invention in the Linux world, as it offers a new paradigm of system configuration and package management. It is not only reliable and secure, but also fun and rewarding to use.
Upstream inputs
- pilots to get bleeding-edge softwares from NixOS-Pilots.
- chaotic to get bleeding-edge softwares from nyx.
- home-manager configurations as flake module.
- sops-nix to decrypt in-flight secrets from remote.
- nixpkgs-wayland to fetch up-to-date wayland packages for daily usage.
- hyprland to fetch up-to-date Hyprland packages for daily usage.
- pyprland to fetch up-to-date Hyprland plugins for daily usage.
- rust-nightly-overlay to fetch nightly rust packages for daily usage.
- neovim-nightly-overlay to fetch nightly neovim package for daily usage.
- impemenance to create tmpfs root stateless OS.
- pre-commit-hooks to integrate pre-commit-hooks with flake.
- microvm to spin up microvm locally in seconds.
- nix-fast-build to speed up evaluation and building process.
- auto-cpufreq to optimize power management and efficiency.
References
Wikis
- How to Learn Nix
- Nix Pills
- Nix Flakes
- Nix Language
- NixOS & Flakes Book
- Nix Dev
- MyNixOS
- Noogle
- NixOS CN
- Awesome Nix
- Nixpkgs Pull Request Tracker