From 4b0d08edf2c682dad0e67796158f506cbe150cc8 Mon Sep 17 00:00:00 2001 From: Arthur Wambst Date: Tue, 25 Feb 2025 15:50:09 +0100 Subject: [PATCH] uiui --- flake.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 9cbbd6c..67747da 100644 --- a/flake.nix +++ b/flake.nix @@ -7,12 +7,17 @@ }; neovim.url = "git+https://gitea.napo280.fr/napo280/flake-nvim"; }; - outputs = { self, nixpkgs, ... }@inputs: { - nixosModules.flake = {config, pkgs, ...} : - { - environment.systemPackages = [ - inputs.neovim - ]; - }; + outputs = { self, nixpkgs, flake-nvim, flake-python, ... }: + { + nixosConfigurations.mySystem = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + + # On assemble les modules provenant des différents flakes + modules = [ + flake-nvim.nixosModules.neovim + ]; + + # Si besoin, on peut ajouter d'autres modules locaux ici + }; }; }