flake/modules/home/default.nix
2025-07-31 00:34:46 +00:00

20 lines
429 B
Nix

{ pkgs, lib, config, osConfig, ... }:
let cfg = osConfig.mods;
in {
imports = [
./terminal
./desktop
./sops
./xdg.nix
./impermanence.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/";
}