home-manager-configuration/flake.nix

61 lines
1.8 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";
2024-01-07 17:13:59 +00:00
nixpkgsUnstable.url = "github:nixos/nixpkgs/nixos-unstable";
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";
};
};
2024-03-23 15:26:01 +00:00
outputs = { nixpkgs, nixpkgsUnstable, home-manager, obs-streamfx, ... }:
2023-02-11 01:25:49 +00:00
let
system = "x86_64-linux";
2024-01-07 17:13:59 +00:00
pkgsUnstable = import nixpkgsUnstable {
inherit system;
config.allowUnfree = true;
};
2023-04-07 01:35:24 +00:00
pkgs = import nixpkgs {
inherit system;
2024-01-06 19:33:50 +00:00
overlays = [
2023-10-31 22:26:22 +00:00
(final: prev: {
2024-04-05 22:06:29 +00:00
dissent = pkgsUnstable.dissent;
2024-03-28 16:49:37 +00:00
fractal = pkgsUnstable.fractal;
2024-01-07 17:13:59 +00:00
keymapp = pkgsUnstable.keymapp;
2024-04-15 01:29:19 +00:00
paper-plane = pkgsUnstable.paper-plane;
2024-04-26 18:56:19 +00:00
signal-desktop = pkgsUnstable.signal-desktop;
2024-03-28 16:49:37 +00:00
tuba = pkgsUnstable.tuba;
2024-03-03 13:33:36 +00:00
vesktop = pkgsUnstable.vesktop;
2024-01-06 19:33:50 +00:00
obs-studio-plugins = prev.obs-studio-plugins // {
obs-streamfx = obs-streamfx.packages.${system}.obs-streamfx;
};
})
];
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
2024-01-06 19:33:50 +00:00
# extraSpecialArgs = attrs // { inherit system; };
2023-02-11 01:25:49 +00:00
};
};
}