home-manager-configuration/flake.nix

46 lines
1.1 KiB
Nix
Raw Normal View History

2023-02-11 01:25:49 +00:00
{
description = "Home Manager configuration of Jane Doe";
inputs = {
# Specify the source of Home Manager and Nixpkgs.
2023-11-29 03:58:06 +00:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
2023-02-11 01:25:49 +00:00
home-manager = {
2023-11-29 03:58:06 +00:00
url = "github:nix-community/home-manager/release-23.11";
2023-02-11 01:25:49 +00:00
inputs.nixpkgs.follows = "nixpkgs";
};
obs-streamfx = {
url = "git+https://git.asonix.dog/asonix/nix-obs-streamfx";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, ... }@attrs:
let
system = "x86_64-linux";
2023-04-07 01:35:24 +00:00
pkgs = import nixpkgs {
inherit system;
2023-10-31 22:26:22 +00:00
overlays = [
(final: prev: {
keymapp = prev.callPackage ./wally-cli {};
})
];
2023-04-07 01:35:24 +00:00
};
2023-02-11 01:25:49 +00:00
in
{
homeConfigurations.asonix = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
# Specify your home configuration modules here, for example,
# the path to your home.nix.
2023-04-07 01:35:24 +00:00
modules = [
./home.nix
./nvim.nix
];
2023-02-11 01:25:49 +00:00
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
2023-04-07 01:35:24 +00:00
extraSpecialArgs = attrs // { inherit system; };
2023-02-11 01:25:49 +00:00
};
};
}