2024-06-12 18:09:56 +07:00
|
|
|
{ config, profile-path, ... }:
|
|
|
|
let
|
|
|
|
user = config.profile.user;
|
|
|
|
stateVersion = config.profile.system.stateVersion;
|
|
|
|
in
|
2024-06-12 09:54:11 +07:00
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
profile-path
|
|
|
|
|
|
|
|
./programs
|
2024-06-12 18:15:03 +07:00
|
|
|
./modules
|
2024-06-12 09:54:11 +07:00
|
|
|
|
|
|
|
./config/wezterm
|
|
|
|
./config/nvim
|
|
|
|
./direnv.nix
|
|
|
|
./config/kitty
|
|
|
|
./config/ideavim
|
|
|
|
./secrets.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
home = {
|
2024-06-12 18:09:56 +07:00
|
|
|
username = user.name;
|
|
|
|
homeDirectory = "/home/${user.name}";
|
|
|
|
stateVersion = stateVersion;
|
2024-06-12 09:54:11 +07:00
|
|
|
};
|
2024-06-12 18:09:56 +07:00
|
|
|
programs.home-manager.enable = true;
|
2024-06-12 09:54:11 +07:00
|
|
|
systemd.user.sessionVariables = {
|
2024-06-12 18:09:56 +07:00
|
|
|
XDG_CONFIG_HOME = "/home/${user.name}/.config";
|
2024-06-12 09:54:11 +07:00
|
|
|
};
|
|
|
|
|
2024-06-12 18:09:56 +07:00
|
|
|
services.mpris-proxy.enable = config.profile.mpris-proxy.enable;
|
2024-06-12 09:54:11 +07:00
|
|
|
}
|