2024-12-11 20:09:53 -07:00
|
|
|
{ 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
|
|
|
|
2024-12-11 20:09:53 -07:00
|
|
|
config = {
|
2024-12-15 22:43:55 -07:00
|
|
|
# Allow user installation of packages
|
2024-12-11 20:09:53 -07:00
|
|
|
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
|
2024-12-11 20:09:53 -07:00
|
|
|
inputs.plasma-manager.homeManagerModules.plasma-manager
|
2024-12-21 11:15:14 -07:00
|
|
|
inputs.flatpaks.homeManagerModules.declarative-flatpak
|
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
|
2024-12-11 20:09:53 -07:00
|
|
|
home-manager.extraSpecialArgs = {
|
|
|
|
inherit inputs system secrets;
|
|
|
|
};
|
2024-12-15 22:43:55 -07:00
|
|
|
|
|
|
|
# Hopefully avoid file conflicts
|
2024-12-11 20:09:53 -07:00
|
|
|
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-11 20:09:53 -07:00
|
|
|
];
|
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-11 20:09:53 -07:00
|
|
|
};
|
2024-12-02 03:57:34 -07:00
|
|
|
};
|
|
|
|
}
|