nix/home-manager/flake.nix

52 lines
1.2 KiB
Nix
Raw Normal View History

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-29 12:55:08 +02:00
stylix.url = "github:danth/stylix";
breezex-cursor = {
url = "path:./breezex-cursor";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-07-14 16:41:22 +02:00
};
outputs = { nixpkgs, home-manager, nixvim-flake, stylix, breezex-cursor, ... }:
2024-07-14 16:41:22 +02:00
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
inputs = {
inherit nixvim-flake;
};
inherit breezex-cursor;
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-28 23:30:50 +02:00
./wm/river.nix
2024-07-29 10:08:16 +02:00
./wm/waybar.nix
2024-07-29 12:55:08 +02:00
stylix.homeManagerModules.stylix
./stylix.nix
2024-07-21 21:12:05 +02:00
];
2024-07-27 11:08:16 +02:00
extraSpecialArgs = {
inherit inputs breezex-cursor system;
2024-07-27 11:08:16 +02:00
};
2024-07-14 16:41:22 +02:00
};
};
};
}