https://github.com/tim-raphael/nixos
A modular configuration for NixOS using flakes.
https://github.com/tim-raphael/nixos
nixos-config
Last synced: 10 months ago
JSON representation
A modular configuration for NixOS using flakes.
- Host: GitHub
- URL: https://github.com/tim-raphael/nixos
- Owner: Tim-Raphael
- Created: 2024-10-24T17:32:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-20T15:12:42.000Z (10 months ago)
- Last Synced: 2025-02-20T16:25:38.294Z (10 months ago)
- Topics: nixos-config
- Language: Nix
- Homepage:
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Config
A modular configuration for NixOS using flakes.
## Folder Structrue
```
├── flake.lock
├── flake.nix
├── hosts
│ └── default
├── modules
│ ├── driver
│ ├── home-manager
│ └── system
└── overlays
```
### `hosts`
Per-Host system configuration.
- **default**: The default host configuration used to build the system for the
first time.
### `modules`
Contains reusable modules organnized into `home-manager` and `system`.
- **driver**: Hardware specific driver.
- **home-manager**: Configuration for user-specific programs. Gets built together with the system.
- **system**: Core system modules.
### `overlays`
Contains Nix overlays.
## Usage
`sudo nixos-rebuild switch --impure --flake github:Tim-Raphael/nixos#default`
I'm using the --impure flag because the access to a absolute path
(/etc/nixos/hardware-configuration.nix) is forbidden in pure evaluation mode.