From 07a2b762eac278367731a06d840b2e02d3f4fada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Fri, 31 May 2024 14:37:28 +0200 Subject: [PATCH] Install nvim and bash in home-manager --- NixOS/flake.nix | 8 ++++++-- NixOS/home.nix | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/NixOS/flake.nix b/NixOS/flake.nix index 316024b..34faea0 100644 --- a/NixOS/flake.nix +++ b/NixOS/flake.nix @@ -17,9 +17,13 @@ ./configuration.nix 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.users.user.imports = [ ./home.nix ]; + home-manager.users.user = { + imports = [ ./home.nix ]; + home.stateVersion = "24.11"; + }; } ]; }; diff --git a/NixOS/home.nix b/NixOS/home.nix index e69de29..151950c 100644 --- a/NixOS/home.nix +++ b/NixOS/home.nix @@ -0,0 +1,4 @@ +{ + programs.bash.enable = true; + programs.neovim.enable = true; +}