36 lines
No EOL
1.1 KiB
Nix
Executable file
36 lines
No EOL
1.1 KiB
Nix
Executable file
{ inputs, system, secrets, lib, config, ... }:
|
|
{
|
|
imports = [ ./meta.nix ];
|
|
|
|
config = {
|
|
# Allow user installation of packages
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.sharedModules = [
|
|
# Import plasma manager and all of my custom modules for use
|
|
inputs.plasma-manager.homeManagerModules.plasma-manager
|
|
./modules
|
|
];
|
|
# Inherit all of my nixos config custom arguments
|
|
home-manager.extraSpecialArgs = {
|
|
inherit inputs system secrets;
|
|
};
|
|
|
|
# Hopefully avoid file conflicts
|
|
home-manager.backupFileExtension = "backup";
|
|
|
|
home-manager.users.ty = {
|
|
imports = [
|
|
# Import meta options for configuring the configuration
|
|
./meta.nix
|
|
# Import all of my config
|
|
./config
|
|
];
|
|
|
|
home.stateVersion = "24.05";
|
|
|
|
# Inherit my home manager config options
|
|
meta.home-manager = config.meta.home-manager;
|
|
};
|
|
};
|
|
} |