nix/home-manager/flake.nix

52 lines
1.2 KiB
Nix

{
description = "My Home Manager configuration";
inputs = {
nixpkgs.url = "nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};
nixvim-flake = {
url = "path:./nixvim";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
stylix.url = "github:danth/stylix";
breezex-cursor = {
url = "path:./breezex-cursor";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, nixvim-flake, stylix, breezex-cursor, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
inputs = {
inherit nixvim-flake;
};
inherit breezex-cursor;
in {
homeConfigurations = {
t470 = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./home.nix
./wm/river.nix
./wm/waybar.nix
stylix.homeManagerModules.stylix
./stylix.nix
./wm/wluma.nix
];
extraSpecialArgs = {
inherit inputs breezex-cursor system;
};
};
};
};
}