nix/home-manager/default.nix

36 lines
1.1 KiB
Nix
Raw Normal View History

{ inputs, system, secrets, lib, config, ... }:
2024-12-02 03:57:34 -07:00
{
2024-12-15 22:43:55 -07:00
imports = [ ./meta.nix ];
2024-12-02 03:57:34 -07:00
config = {
2024-12-15 22:43:55 -07:00
# Allow user installation of packages
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.sharedModules = [
2024-12-15 22:43:55 -07:00
# Import plasma manager and all of my custom modules for use
inputs.plasma-manager.homeManagerModules.plasma-manager
2024-12-15 22:43:55 -07:00
./modules
2024-12-02 03:57:34 -07:00
];
2024-12-15 22:43:55 -07:00
# Inherit all of my nixos config custom arguments
home-manager.extraSpecialArgs = {
inherit inputs system secrets;
};
2024-12-15 22:43:55 -07:00
# Hopefully avoid file conflicts
home-manager.backupFileExtension = "backup";
home-manager.users.ty = {
imports = [
2024-12-15 22:43:55 -07:00
# Import meta options for configuring the configuration
./meta.nix
# Import all of my config
./config
];
2024-12-15 22:43:55 -07:00
home.stateVersion = "24.05";
# Inherit my home manager config options
meta.home-manager = config.meta.home-manager;
};
2024-12-02 03:57:34 -07:00
};
}