home-manager/flake.nix

47 lines
1.3 KiB
Nix

{
description = "Lauren's Home Manager Flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {nixpkgs, nixpkgs-unstable, home-manager, ... }: let
system = "x86_64-linux";
unstable = nixpkgs-unstable.legacyPackages.${system};
lauren_lagarde_modules = [{
home.username = "lauren_lagarde";
home.homeDirectory = "/home/lauren_lagarde";
}];
in {
homeConfigurations = {
"lauren_lagarde" = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { system = "x86_64-linux"; };
modules = lauren_lagarde_modules ++ [
./base.nix
];
};
"lauren_lagarde@ll-latitude-e5591" = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { system = "x86_64-linux"; };
modules = lauren_lagarde_modules ++ [
./base.nix
./i3.nix
./secrets/dotspace.nix
./secrets/dotspace_gui.nix
./systems/ll-latitude-e5591.nix
];
extraSpecialArgs = { unstable = unstable; };
};
};
};
}