Install nvim and bash in home-manager

This commit is contained in:
Thomas Avé 2024-05-31 14:37:28 +02:00
parent e632eff25b
commit 07a2b762ea
2 changed files with 10 additions and 2 deletions

View File

@ -17,9 +17,13 @@
./configuration.nix ./configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; # makes hm use nixos's pkgs value home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs; }; # allows access to flake inputs in hm modules home-manager.extraSpecialArgs = { inherit inputs; }; # allows access to flake inputs in hm modules
home-manager.users.user.imports = [ ./home.nix ]; home-manager.users.user = {
imports = [ ./home.nix ];
home.stateVersion = "24.11";
};
} }
]; ];
}; };

View File

@ -0,0 +1,4 @@
{
programs.bash.enable = true;
programs.neovim.enable = true;
}