This commit is contained in:
Arthur Wambst 2025-02-25 15:54:17 +01:00
parent 4b0d08edf2
commit cd8dd880d7
2 changed files with 50 additions and 57 deletions

View File

@ -32,10 +32,31 @@
"type": "github" "type": "github"
} }
}, },
"flake-nvim": {
"inputs": {
"neovim": "neovim",
"nixpkgs": "nixpkgs",
"plugin-dracula": "plugin-dracula",
"plugin-gruvbox": "plugin-gruvbox"
},
"locked": {
"lastModified": 1740493748,
"narHash": "sha256-fKVoWQHlFchsJub5s7b+krjPn3Z5NeIHxBmEYCxveKU=",
"ref": "refs/heads/main",
"rev": "b250105afaf2276d288d283fe2d79a49a3eb3f0d",
"revCount": 41,
"type": "git",
"url": "https://gitea.napo280.fr/napo280/flake-nvim"
},
"original": {
"type": "git",
"url": "https://gitea.napo280.fr/napo280/flake-nvim"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"neovim", "flake-nvim",
"neovim", "neovim",
"nixpkgs" "nixpkgs"
] ]
@ -57,7 +78,7 @@
"flake-parts_2": { "flake-parts_2": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"neovim", "flake-nvim",
"neovim", "neovim",
"hercules-ci-effects", "hercules-ci-effects",
"nixpkgs" "nixpkgs"
@ -81,7 +102,7 @@
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",
"gitignore": "gitignore", "gitignore": "gitignore",
"nixpkgs": [ "nixpkgs": [
"neovim", "flake-nvim",
"neovim", "neovim",
"nixpkgs" "nixpkgs"
] ]
@ -103,7 +124,7 @@
"gitignore": { "gitignore": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"neovim", "flake-nvim",
"neovim", "neovim",
"git-hooks", "git-hooks",
"nixpkgs" "nixpkgs"
@ -127,7 +148,7 @@
"inputs": { "inputs": {
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"nixpkgs": [ "nixpkgs": [
"neovim", "flake-nvim",
"neovim", "neovim",
"nixpkgs" "nixpkgs"
] ]
@ -147,43 +168,6 @@
} }
}, },
"neovim": { "neovim": {
"inputs": {
"neovim": "neovim_2",
"nixpkgs": "nixpkgs",
"plugin-dracula": "plugin-dracula",
"plugin-gruvbox": "plugin-gruvbox"
},
"locked": {
"lastModified": 1740493748,
"narHash": "sha256-fKVoWQHlFchsJub5s7b+krjPn3Z5NeIHxBmEYCxveKU=",
"ref": "refs/heads/main",
"rev": "b250105afaf2276d288d283fe2d79a49a3eb3f0d",
"revCount": 41,
"type": "git",
"url": "https://gitea.napo280.fr/napo280/flake-nvim"
},
"original": {
"type": "git",
"url": "https://gitea.napo280.fr/napo280/flake-nvim"
}
},
"neovim-src": {
"flake": false,
"locked": {
"lastModified": 1740181035,
"narHash": "sha256-B0IflO5lsfiP5N7NOzEOWTOkWpm8Gw2eh+PHpQaxByY=",
"owner": "neovim",
"repo": "neovim",
"rev": "db2c3d1143fb5888602a2cee84578bd8a9c88bd7",
"type": "github"
},
"original": {
"owner": "neovim",
"repo": "neovim",
"type": "github"
}
},
"neovim_2": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
@ -191,7 +175,7 @@
"hercules-ci-effects": "hercules-ci-effects", "hercules-ci-effects": "hercules-ci-effects",
"neovim-src": "neovim-src", "neovim-src": "neovim-src",
"nixpkgs": [ "nixpkgs": [
"neovim", "flake-nvim",
"nixpkgs" "nixpkgs"
], ],
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
@ -210,6 +194,22 @@
"type": "github" "type": "github"
} }
}, },
"neovim-src": {
"flake": false,
"locked": {
"lastModified": 1740181035,
"narHash": "sha256-B0IflO5lsfiP5N7NOzEOWTOkWpm8Gw2eh+PHpQaxByY=",
"owner": "neovim",
"repo": "neovim",
"rev": "db2c3d1143fb5888602a2cee84578bd8a9c88bd7",
"type": "github"
},
"original": {
"owner": "neovim",
"repo": "neovim",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1740232592, "lastModified": 1740232592,
@ -274,14 +274,14 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"neovim": "neovim", "flake-nvim": "flake-nvim",
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
} }
}, },
"treefmt-nix": { "treefmt-nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"neovim", "flake-nvim",
"neovim", "neovim",
"nixpkgs" "nixpkgs"
] ]

View File

@ -5,19 +5,12 @@
nixpkgs = { nixpkgs = {
url = "github:NixOS/nixpkgs"; url = "github:NixOS/nixpkgs";
}; };
neovim.url = "git+https://gitea.napo280.fr/napo280/flake-nvim"; flake-nvim.url = "git+https://gitea.napo280.fr/napo280/flake-nvim";
}; };
outputs = { self, nixpkgs, flake-nvim, flake-python, ... }: outputs = { self, nixpkgs, flake-nvim, ... }:
{ {
nixosConfigurations.mySystem = nixpkgs.lib.nixosSystem { nixosModules = {
system = "x86_64-linux"; neovim = flake-nvim.nixosModules.neovim;
};
# On assemble les modules provenant des différents flakes
modules = [
flake-nvim.nixosModules.neovim
];
# Si besoin, on peut ajouter d'autres modules locaux ici
};
}; };
} }