Skip to content

Latest commit

Β 

History

839 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🟦 LuxNix - Professional NixOS Configuration Framework

A comprehensive NixOS configuration framework designed for research and development environments, emphasizing security, reproducibility, and automated deployment. Built using Snowfall Lib and Nixicle, this architecture easily manages multiple systems and user environments with a focus on enabling fast GPU computing and secure networking.

It provides a securely encrypted setup for study laptops, enabling research on protected data. This enables cooperation among research centers.

This infrastructure was built in the context of the ColoReg study. Here the main use case will be gathering medical study data.

πŸ”Ž Overview

  • NixOS installation media
  • UEFI-capable system
  • Storage device (NVMe or SATA)
  • USB drive for boot decryption (optional)
  • FIDO2 security key (optional)

πŸ› οΈ Initial Setup

  1. Verify UEFI boot mode
  2. Prepare storage devices
  3. Set up LUKS encryption
  4. Follow hardware setup guide

References for the NixOS Setup used:

πŸ›  Getting Started

Prerequisites

  • NixOS installation media
  • Basic understanding of Nix flakes
  • Hardware compatible with NixOS

Quick Start

  1. Boot from NixOS installation media
  2. Follow the deployment guide in the Wiki
  3. Choose appropriate system configuration from systems/x86_64-linux/

Deployment

# Clone the repository
git clone https://github.com/wg-lux/luxnix.git

# Deploy to a new system
nixos-anywhere --flake '.#hostname' nixos@ip-address

# Update existing system
nh os switch
nho #shortcut

πŸ“ Repository Structure

luxnix/
β”œβ”€β”€ flake.nix           # Main flake configuration
β”œβ”€β”€ modules/            # Modular system configurations
β”‚   β”œβ”€β”€ home/          # Home-manager configurations
β”‚   └── nixos/         # System-level configurations
β”œβ”€β”€ systems/           # Per-machine configurations
└── homes/            # User-specific configurations

πŸ”’ Security Features

  • LUKS2 encryption with FIDO2 device support
  • Secure boot configuration (optional)
  • VPN integration for secure networking
  • Role-based access control
  • Secrets management with SOPS

πŸ–₯️ Supported System Types

  • Development Workstations (gc-*)

    • Hybrid GPU configurations
    • Development toolchain preinstalled
    • Desktop environment with KDE and Plasma on Linux (NixOS Distro)
  • Servers (s-*)

    • Infrastructure to outsource computation
    • Monitoring systems
    • Network services

πŸ“š Documentation

Comprehensive documentation is available in the Luxnix Wiki:

πŸ›Ÿ Support

For issues and questions:

Keycloak and Nextcloud login

Make sure account has been created.

Step 1: Access Keycloak

Please visit the following link:
https://keycloak.endo-reg.net/
Use the provided credentials to log in.

Step 2: Complete Required Actions

After logging in, you will be automatically guided through the following steps:

  • Verify your email address
  • Set up OTP (two-factor authentication)
  • Change your password

Make sure to complete all steps.

Step 3: Log In to Nextcloud

Once all steps are completed, go to:
https://cloud.endo-reg.net/login

Click "Login with Keycloak".

You can now use your Keycloak credentials to access Nextcloud.

Ste 4: Log In to Nextcloud Mobile Application

Download the mobile app. Use this link: https://cloud.endo-reg.net Enter credential/login using keyscloak

πŸ“š Documentation Wiki

The following documents have been moved from the repository into the Luxnix Wiki for easier access and centralized maintenance:

Luxnix Documentation

Database Documentation

Ansible

Devlog

Figures

Miscellaneous

πŸ“œ License

MIT - see LICENSE

Built with ❄️ using NixOS

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages