Files
nixos-config/README.md
T
2025-12-06 23:26:10 +03:00

1.3 KiB

❄️ My NixOS Config

This configuration is based on &'s config

Users

Hosts

How does this work?

The flake file is the starting point. While installing/rebuilding the correct host is chosen, which includes ./host/${host}/configuration.nix.

It includes 2 (actually, more, but hey!) files:

It allows me to remove duplications and add multiple users to one host

Example with Rias:

./host/Rias/configuration.nix
  ./host/Rias/modules/*
  ./host/modules/gpu/nvidia.nix
  ./host/modules/common.nix
    ./host/Rias/hardware-configuration.nix
    ./modules/host.nix
      ./modules/host/*
    ./host/modules/packages.nix
  ./user/common.nix
    ./user/sweetbread/home.nix
      ./user/sweetbread/modules/*
    ./modules/user.nix
      ./modules/user/*

Programs

Most of programs are defined in user modules

Screenshot