Hello! This repository provides a starter NixOS configuration for Epitech students who are migrating from another distribution.
It is a ready-to-use configuration focused on getting set up quickly.
This repo includes common tools for Epitech students:
- Clang
- Epiclang (with Epifaster)
- Gcovr
- Git
- Criterion
- Valgrind
- Make
- Htop
- Go
- Python
Applications included:
- VS Code
- Zed Editor
- Zen Browser
- Microfetch
- NixOS installed
- Working network connection (Wi-Fi or Ethernet)
- First, you need Git to clone this repository. NixOS provides a temporary shell to try commands without installing packages permanently:
nix-shell -p gitThen clone the repository:
git clone https://github.com/EpiSDK/EpiNix.git- After cloning, edit the configuration for your user and make sure it matches your system.
- Follow the comments to update the username and related paths.
- Add or remove packages as needed.
- When you are ready, copy the configuration files to the NixOS location:
cp config.nix /etc/nixos
cp home.nix /etc/nixos
cp flake.nix /etc/nixos- Final step: rebuild and switch to the new configuration:
sudo nixos-rebuild switch --flake /etc/nixos#nixosAll applications are installed and ready to use.
This configuration enables GNOME as the desktop environment, but NixOS can also enable Hyprland if you want a more customized setup.
For an example Hyprland configuration, see: https://github.com/Tadomika-Ari/My-NixOs-Configuration#
Follow the comments to add other apps/tools:
home.nixfor user-specific packagesconfig.nixfor system-wide packages
.
├── README.md
├── config.nix
├── flake.nix
├── home.nix
└── setup.sh