diff --git a/LICENSE b/LICENSE index b8b9974..2fd0cb9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ ISC License -Copyright (c) 2025 kiroussa +Copyright (c) 2025 adjoly, lbouet, kiroussa Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above diff --git a/README.md b/README.md index 6385cb7..8cf9545 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,37 @@ # [inception-of-things](https://projects.intra.42.fr/projects/inception-of-things) -> This project aims to introduce you to kubernetes from a developer perspective. You will have to set up small clusters and discover the mechanics of continuous integration. At the end of this project you will be able to have a working cluster in docker and have a usable continuous integration for your applications. +> This project aims to introduce you to Kubernetes from a developer perspective. You will have to set up small clusters and discover the mechanics of continuous integration. At the end of this project you will be able to have a working cluster in docker and have a usable continuous integration for your applications. + +## How to use + +### Setting up the VM + +First, since everything is done in a Virtual Machine, we provide a NixOS configuration to bootstrap everything. You launch use it by running one of the following commands: +```bash +# Launches the VM normally +nix run ./vm + +# Launches the VM in TUI/headless mode +nix run ./vm#vm-nodisplay +``` + +You can also run `nix run .#clean` in the `vm` directory to clean-up any VM files. + +### Part 1: Setting up the cluster + +`TODO: bla bla bla` + +### Part 2: I don't even know anymore + +`TODO: bla bla bla` + +### Part 3: What? + +`TODO: bla bla bla` + +### Bonus part: GitLab hell + +`TODO: bla bla bla` ## License diff --git a/flake.lock b/flake.lock index a2c510a..bc05dda 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1739736696, - "narHash": "sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb+P+R4S8Jsw=", + "lastModified": 1751792365, + "narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=", "owner": "nixos", "repo": "nixpkgs", - "rev": "d74a2335ac9c133d6bbec9fc98d91a77f1604c1f", + "rev": "1fd8bada0b6117e6c7eb54aad5813023eed37ccb", "type": "github" }, "original": { diff --git a/vm/configuration.nix b/vm/configuration.nix index d514d06..29f19d1 100644 --- a/vm/configuration.nix +++ b/vm/configuration.nix @@ -58,9 +58,9 @@ layout = "fr"; variant = "us"; }; - displayManager.gdm.enable = true; - desktopManager.gnome.enable = true; }; + displayManager.gdm.enable = true; + desktopManager.gnome.enable = true; libinput.enable = true; }; hardware.graphics = { diff --git a/vm/flake.lock b/vm/flake.lock index 19e041f..340e252 100644 --- a/vm/flake.lock +++ b/vm/flake.lock @@ -23,11 +23,11 @@ ] }, "locked": { - "lastModified": 1737057290, - "narHash": "sha256-3Pe0yKlCc7EOeq1X/aJVDH0CtNL+tIBm49vpepwL1MQ=", + "lastModified": 1751903740, + "narHash": "sha256-PeSkNMvkpEvts+9DjFiop1iT2JuBpyknmBUs0Un0a4I=", "owner": "nix-community", "repo": "nixos-generators", - "rev": "d002ce9b6e7eb467cd1c6bb9aef9c35d191b5453", + "rev": "032decf9db65efed428afd2fa39d80f7089085eb", "type": "github" }, "original": { @@ -38,11 +38,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1739736696, - "narHash": "sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb+P+R4S8Jsw=", + "lastModified": 1751792365, + "narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=", "owner": "nixos", "repo": "nixpkgs", - "rev": "d74a2335ac9c133d6bbec9fc98d91a77f1604c1f", + "rev": "1fd8bada0b6117e6c7eb54aad5813023eed37ccb", "type": "github" }, "original": { diff --git a/vm/flake.nix b/vm/flake.nix index df96b24..d85305e 100644 --- a/vm/flake.nix +++ b/vm/flake.nix @@ -29,7 +29,7 @@ let generate-vm = modules: nixos-generators.nixosGenerate { - inherit system, modules; + inherit system modules; specialArgs = { inherit hostname; };