Refactor flake.nix: update homeManagerModules output and modernize nvim app metadata

This commit is contained in:
2026-06-22 23:43:00 +02:00
parent a3359274b6
commit c91bb0df4b
2 changed files with 15 additions and 3 deletions
+5 -3
View File
@@ -83,11 +83,13 @@
formatter.${system} = pkgs.alejandra;
# Explicit homeManagerModules output (needed for home-manager packages)
# Define homeManagerModules output for home-manager integration
homeManagerModules = {
default = import ./home/programs/group/flake.nix args;
};
default = import ./home/programs/group/flake.nix args;
};
# Ensure nixosConfigurations uses modern output format
# Update to modern syntax (no defaultApp)
nixosConfigurations = {
thinkpad = import ./hosts/laptop/flake.nix args;
home-pc = import ./hosts/home-pc/flake.nix args;
+10
View File
@@ -22,10 +22,20 @@ in {
apps.${system}.nvim = {
type = "app";
program = "${nvimConfig.neovim}/bin/nvim";
meta = {
description = "Improved Vim-based text editor";
homepage = "https://neovim.io";
license = "Apache-2.0";
};
};
defaultApp.${system} = {
type = "app";
program = "${nvimConfig.neovim}/bin/nvim";
meta = {
description = "Improved Vim-based text editor";
homepage = "https://neovim.io";
license = "Apache-2.0";
};
};
homeManagerModules.nvim = {