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 + }; }; }