mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-11 18:18:37 +02:00
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:
@@ -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; };
|
||||
# };
|
||||
#};
|
||||
#};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user