nixos-config/homes/media/default.nix

44 lines
857 B
Nix
Raw Normal View History

2025-03-10 14:16:39 -04:00
{ nix-config, config, lib, pkgs, inputs, ... }:
{
imports = with nix-config.homeModules; [
shell-conf # shell, shell utils, cli tools, libs, tui's
2025-03-10 17:30:58 -04:00
git-conf
2025-03-10 14:16:39 -04:00
];
home = {
packages = with pkgs; [
2025-03-10 14:28:01 -04:00
beets
2025-03-10 14:16:39 -04:00
];
username = "media";
homeDirectory = "/home/media";
sessionVariables = {
NH_FLAKE = "\${HOME}/nixos-config";
};
2025-03-10 14:21:14 -04:00
2025-03-10 22:31:08 -04:00
sessionPath = [
"/home/media/.local/bin"
"/home/media/.local/share"
"/home/media/.nix-profile/lib"
"/etc/profiles/per-user/media/bin/"
"/home/media/.local/state/nix/profiles/home-manager/home-path/bin/"
];
2025-03-10 14:32:16 -04:00
stateVersion = "25.05";
2025-03-10 14:16:39 -04:00
};
programs = {
home-manager.enable = true;
password-store.enable = true;
};
systemd.user = {
enable = true;
startServices = "sd-switch"; # auto reload services when home is rebuilt
};
}