dots/lib/mkHomeConfig.nix
Gene Liverman 77fc9d9853 Manage flatpaks in home-manager
Using this on Ubuntu 25.10. Also sorted module list.
2026-03-22 21:47:31 -04:00

41 lines
958 B
Nix

{ inputs, ... }:
{
mkHomeConfig =
{
homeDirectory,
system,
username,
}:
inputs.home-manager.lib.homeManagerConfiguration {
extraSpecialArgs = {
inherit
inputs
homeDirectory
system
username
;
};
pkgs = inputs.nixpkgs.legacyPackages.${system};
# Specify your home configuration modules here, for example,
# the path to your home.nix.
modules = [
./nixpkgs-settings.nix
../modules/hosts/home-manager-only
../modules/hosts/home-manager-only/home-${username}.nix
../modules/shared/home/general
../modules/shared/linux/flatpaks.nix
{
home = {
username = "${username}";
homeDirectory = "${homeDirectory}";
};
}
inputs.nix-flatpak.homeManagerModules.nix-flatpak
inputs.sops-nix.homeManagerModules.sops
];
};
}