flake/modules/home/default.nix
2025-01-19 20:26:22 +00:00

19 lines
406 B
Nix

{ pkgs, lib, config, osConfig, ... }:
let cfg = osConfig.mods;
in {
imports = [
./terminal
./desktop
./sops
./xdg.nix
];
# Let Home Manager install and manage itself
programs.home-manager.enable = true;
home.username = cfg.user.name;
home.homeDirectory = "/home/${cfg.user.name}";
# home.profileDirectory =
# "${config.home.homeDirectory}/.local/state/nix/profile/";
}