This commit is contained in:
soraefir
2026-06-20 10:54:17 +02:00
parent b55afcfdf6
commit 8e21f3dae8
9 changed files with 31 additions and 27 deletions
+7 -3
View File
@@ -1,12 +1,16 @@
{ lib, config, ... }: {
{ lib, config, pkgs, ... }: {
#environment.sessionVariables.SOPS_AGE_KEY_FILE = keyFilePath;
systemd.user.startServices = "sd-switch";
systemd.user.startServices = lib.mkIf pkgs.stdenv.isLinux "sd-switch";
programs.home-manager.enable = true;
home = {
username = "${config.usercfg.username}";
homeDirectory = "/home/${config.usercfg.username}";
homeDirectory =
if pkgs.stdenv.isDarwin then
"/Users/${config.usercfg.username}"
else
"/home/${config.usercfg.username}";
stateVersion = "26.05";
};