home-manager-configuration/flake.nix

46 lines
1.3 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-05-25 16:39:34 +00:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
2023-02-11 01:25:49 +00:00
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
2023-06-02 21:09:40 +00:00
url = "github:nix-community/home-manager/release-23.05";
2023-02-11 01:25:49 +00:00
inputs.nixpkgs.follows = "nixpkgs";
};
obs-scene-switcher = {
url = "git+https://git.asonix.dog/asonix/nix-obs-scene-switcher";
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-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
};
};
}