refactor: my.home -> my.hm for disambiguilty (e.g. my.home.home)

This commit is contained in:
2025-10-03 22:17:04 +08:00
parent 1eaee50e82
commit faba8a05e6
44 changed files with 54 additions and 56 deletions

View File

@@ -15,7 +15,7 @@ lib.my.makeSwitch {
];
config' = {
my = {
home = {
hm = {
home.packages = with pkgs; [
playerctl
go-musicfox
@@ -23,7 +23,7 @@ lib.my.makeSwitch {
sops.secrets.go-musicfox = {
sopsFile = secrets."go-musicfox.ini";
format = "binary";
path = "${config.my.home.xdg.configHome}/go-musicfox/go-musicfox.ini";
path = "${config.my.hm.xdg.configHome}/go-musicfox/go-musicfox.ini";
};
};

View File

@@ -13,7 +13,7 @@ lib.my.makeSwitch {
"mpd"
];
config' = {
my.home = {
my.hm = {
home.packages = with pkgs.stable; [
mpd
mpc-cli

View File

@@ -48,7 +48,7 @@ lib.my.makeSwitch {
programs.dconf.enable = true;
my.home = {
my.hm = {
home.packages = with pkgs; [
lsd
fd

View File

@@ -14,7 +14,7 @@ lib.my.makeHomePackageConfig {
"btop"
];
extraConfig = {
my.home.xdg.configFile."btop" = {
my.hm.xdg.configFile."btop" = {
source = ./config;
recursive = true;
};

View File

@@ -15,9 +15,9 @@ lib.my.makeSwitch {
];
config' = {
my.persist.homeDirs = [ ".local/share/zoxide" ];
my.home =
my.hm =
let
stateHome = config.my.home.xdg.stateHome;
stateHome = config.my.hm.xdg.stateHome;
zsh-syntax-highlighting = pkgs.fetchFromGitHub {
owner = "zsh-users";
repo = "zsh-syntax-highlighting";
@@ -78,7 +78,7 @@ lib.my.makeSwitch {
};
programs.zsh = {
enable = true;
dotDir = "${config.my.home.xdg.configHome}/zsh";
dotDir = "${config.my.hm.xdg.configHome}/zsh";
history = {
path = "${stateHome}/zsh_history";
ignorePatterns = [

View File

@@ -16,7 +16,7 @@ lib.my.makeHomeProgramConfig {
"git"
];
extraConfig = {
my.home = {
my.hm = {
programs.git = {
userName = "${userfullname}";
userEmail = "${useremail}";

View File

@@ -16,7 +16,7 @@ lib.my.makeHomeProgramConfig {
"jj"
];
extraConfig = {
my.home = {
my.hm = {
programs.jujutsu = {
settings = {
user = {