Removed entierly nixvim as i didnt got it to work. Put home-manager inside the flake and later removed it back to configuration.nix

This commit is contained in:
Tomas Rivera
2026-02-27 11:53:47 +01:00
parent fa2cf6e875
commit a897f76671
4 changed files with 205 additions and 18 deletions
+25 -3
View File
@@ -8,9 +8,13 @@
url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
# never got nixvim to wokrs. ):
# nixvim = {
# url = "github:nix-community/nixvim/nixos-25.11";
# };
};
outputs = { self, nixpkgs, ... }@inputs:
outputs = { self, nixpkgs, home-manager, nixvim, ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
@@ -20,9 +24,27 @@
laptop = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./hosts/laptop/configuration.nix
./hosts/laptop/configuration.nix
];
};
};
};
# we use home-manager directly inside of configuration.nix
# last time i tried to use flake i broke everything ):
# homeManagerConfigurations = {
# tomasr = home-manager.lib.homeManagerConfiguration {
# pkgs = pkgs;
# system = "x86_64-linux";
# username = "tomasr";
# homeDirectory = "/home/tomasr";
# modules = [
# ./hosts/laptop/home.nix
# #nixvim.homeModules.default
#];
# Import your Home Manager module
# configuration = ./hosts/laptop/home.nix;
# extraSpecialArgs = { inherit inputs; };
# };
#};
#};
}