45 lines
1.3 KiB
Nix
45 lines
1.3 KiB
Nix
{
|
|
description = "Home Manager configuration of Jane Doe";
|
|
|
|
inputs = {
|
|
# Specify the source of Home Manager and Nixpkgs.
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-22.11";
|
|
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";
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in
|
|
{
|
|
homeConfigurations.asonix = home-manager.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
|
|
# Specify your home configuration modules here, for example,
|
|
# the path to your home.nix.
|
|
modules = [
|
|
./home.nix
|
|
./nvim.nix
|
|
];
|
|
|
|
# Optionally use extraSpecialArgs
|
|
# to pass through arguments to home.nix
|
|
extraSpecialArgs = attrs // { inherit system; };
|
|
};
|
|
};
|
|
}
|