{ 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 = { self, home-manager, nixpkgs, nixpkgs-unstable, ... }@inputs: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; config.allowUnfree = true; }; pkgs-unstable = import nixpkgs-unstable { inherit system; }; in { # Enables all of these be used in a system flake # https://discourse.nixos.org/t/nixos-home-manager-config-where-both-use-flakes/41410/2 homeManagerModules = { #inherit pkgs-unstable; #TODO: ???? "lauren_lagarde" = [ { home.username = "lauren_lagarde"; home.homeDirectory = "/home/lauren_lagarde"; } ./base.nix ]; "lauren_lagarde@ll-latitude-e5591" = self.homeManagerModules."lauren_lagarde" ++ [ ./i3.nix ./secrets/dotspace.nix ./secrets/dotspace_gui.nix ./systems/ll-latitude-e5591.nix ]; }; homeConfigurations = { "lauren_lagarde" = home-manager.lib.homeManagerConfiguration { inherit pkgs; modules = self.homeManagerModules."lauren_lagarde"; extraSpecialArgs = { inherit inputs pkgs-unstable; }; }; "lauren_lagarde@ll-latitude-e5591" = home-manager.lib.homeManagerConfiguration { inherit pkgs; modules = self.homeManagerModules."lauren_lagarde@ll-latitude-e5591"; extraSpecialArgs = { inherit inputs pkgs-unstable; }; }; }; }; }