2024-07-14 16:41:22 +02:00
|
|
|
{
|
|
|
|
|
description = "My Home Manager configuration";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
2024-07-21 11:45:50 +02:00
|
|
|
nixpkgs.url = "nixpkgs/nixos-24.05";
|
2024-07-27 11:08:16 +02:00
|
|
|
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
2024-07-14 16:41:22 +02:00
|
|
|
|
|
|
|
|
home-manager = {
|
2024-07-21 11:45:50 +02:00
|
|
|
url = "github:nix-community/home-manager/release-24.05";
|
2024-07-14 16:41:22 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2024-07-21 21:12:05 +02:00
|
|
|
|
2024-07-27 11:08:16 +02:00
|
|
|
nixvim-flake = {
|
|
|
|
|
url = "path:./nixvim";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
2024-07-21 21:12:05 +02:00
|
|
|
};
|
2024-07-14 16:41:22 +02:00
|
|
|
};
|
|
|
|
|
|
2024-07-27 11:08:16 +02:00
|
|
|
outputs = { nixpkgs, home-manager, nixvim-flake, ... }:
|
2024-07-14 16:41:22 +02:00
|
|
|
let
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
2024-07-27 11:08:16 +02:00
|
|
|
inputs.nixvim-flake = nixvim-flake;
|
2024-07-14 16:41:22 +02:00
|
|
|
in {
|
|
|
|
|
homeConfigurations = {
|
|
|
|
|
t470 = home-manager.lib.homeManagerConfiguration {
|
|
|
|
|
inherit pkgs;
|
2024-07-21 21:12:05 +02:00
|
|
|
modules = [
|
|
|
|
|
./home.nix
|
|
|
|
|
];
|
2024-07-27 11:08:16 +02:00
|
|
|
extraSpecialArgs = {
|
|
|
|
|
inherit inputs;
|
|
|
|
|
};
|
2024-07-14 16:41:22 +02:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|