too much shit idek anymore

This commit is contained in:
blahai 2025-01-26 00:36:34 +02:00
parent 14843ef945
commit bc82345beb
No known key found for this signature in database
63 changed files with 1759 additions and 346 deletions

View file

@ -1 +1,45 @@
{}
{
lib,
self,
self',
config,
inputs,
inputs',
...
}: let
inherit (lib.modules) mkDefault;
inherit (lib.attrsets) genAttrs;
inherit (config.olympus.programs) defaults;
in {
home-manager = {
verbose = true;
useUserPackages = true;
useGlobalPkgs = true;
backupFileExtension = "bak";
extraSpecialArgs = {
inherit
inputs
self
inputs'
self'
defaults
;
};
users = genAttrs config.olympus.system.users (name: ./${name});
# we should define grauntied common modules here
sharedModules = [
{
home.stateVersion = config.system.stateVersion;
# reload system units when changing configs
systemd.user.startServices = mkDefault "sd-switch"; # or "legacy" if "sd-switch" breaks again
# let HM manage itself when in standalone mode
programs.home-manager.enable = true;
}
];
};
}