https://github.com/cmdoret/nixos
get nixxed 🧊
https://github.com/cmdoret/nixos
Last synced: 12 months ago
JSON representation
get nixxed 🧊
- Host: GitHub
- URL: https://github.com/cmdoret/nixos
- Owner: cmdoret
- License: gpl-3.0
- Created: 2025-05-30T21:33:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-21T22:25:16.000Z (12 months ago)
- Last Synced: 2025-06-21T23:25:25.772Z (12 months ago)
- Language: Nix
- Size: 27.8 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nixos
This repository contains the definition of my machines as code (i.e. declarative
setup) using NixOS. It is structured as follows:
- `hosts`: the different machines and their specific configuration values.
- `profiles`: hardware profiles imported by hosts.
- `modules`: software and service configuration.
- `core`: system packages.
- `home`: home-manager modules (i.e. nix-based dotfiles).
- `drivers`: Hardware driver imported by profiles.
- `dev-shells`: ready-to-use development shell for various languages.
This configuration and the setup script are derived from
[zaneyOS](https://gitlab.com/Zaney/zaneyos).
It uses a flake-based nixos config.
## Bootstrap
To set up a new machine, use:
```bash
nix-shell -p git
mkdir -p ~/.config/
cd ~/.config
git clone https://github.com/cmdoret/nixos
cd nixos
bash ./setup.sh
```
## Usage
Helpful aliases to manage the configuration are defined in
`modules/home/zsh/default.nix`:
- `fr`: rebuild the system.
- `ncg`: garbage-collect previous generations.
- `dev`: enter a specific dev-shell by profile name (e.g. `dev python.uv`)