updates home manager config

This commit is contained in:
Dennis Schoepf 2026-03-03 22:08:29 +01:00
parent 2c8c977d28
commit d44b7ebdaa
4 changed files with 26 additions and 39 deletions

View file

@ -0,0 +1,25 @@
{ inputs, config, ... }:
let
username = config.flake.globalConfig.username;
hmConfig = {
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "backup";
users.${username}.home.stateVersion = "24.11";
};
in
{
flake.modules.nixos.home-manager =
{ ... }:
{
imports = [ inputs.home-manager.nixosModules.home-manager ];
home-manager = hmConfig;
};
flake.modules.darwin.home-manager =
{ ... }:
{
imports = [ inputs.home-manager.darwinModules.home-manager ];
home-manager = hmConfig;
};
}