home dir updates

This commit is contained in:
John Lancaster
2024-12-29 13:47:27 -06:00
parent a8c4b75eb1
commit 321b5f7e3c
3 changed files with 6 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
{ systemSettings, userSettings, ... }:
{ lib, systemSettings, userSettings, ... }:
{
security.sudo-rs = {
enable = true;
@@ -10,14 +10,13 @@
isNormalUser = true;
extraGroups = [ "wheel" "docker" ];
openssh.authorizedKeys.keyFiles = [ ../secrets/authorized_keys ];
};
home-manager = {
useGlobalPkgs = true;
users.${userSettings.userName} = { ... }: {
home.stateVersion = systemSettings.stateVersion;
home.homeDirectory = "${userSettings.adHome}";
home.homeDirectory = lib.mkForce "${userSettings.adHome}";
systemd.user.startServices = "sd-switch"; # helps with handling systemd services when switching
imports = [ (import ./git.nix {inherit userSettings;}) ];
programs = {