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

@@ -13,7 +13,7 @@ lib.my.makeHomeProgramConfig {
"chromium"
];
extraConfig = {
my.home.programs.chromium = {
my.hm.programs.chromium = {
package = pkgs.ungoogled-chromium;
extensions = [
{

View File

@@ -13,7 +13,7 @@ lib.my.makeHomeProgramConfig {
"zen"
];
extraConfig = {
my.home.programs.zen-browser = {
my.hm.programs.zen-browser = {
enable = true;
nativeMessagingHosts = [ pkgs.firefoxpwa ];
policies = {

View File

@@ -13,7 +13,7 @@ lib.my.makeSwitch {
"minecraft"
];
config' = {
my.home.home.packages = [
my.hm.home.packages = [
(pkgs.hmcl.overrideAttrs {
postFixup = ''
substituteInPlace $out/share/applications/HMCL.desktop --replace-fail 'Exec=hmcl' 'Exec=sh -c "cd ~/.local/share/hmcl; hmcl"'

View File

@@ -14,6 +14,6 @@ lib.my.makeHomePackageConfig {
"dunst"
];
extraConfig = {
my.home.xdg.configFile."dunst/dunstrc".source = ./dunstrc;
my.hm.xdg.configFile."dunst/dunstrc".source = ./dunstrc;
};
}

View File

@@ -14,7 +14,7 @@ lib.my.makeHomePackageConfig {
"swaync"
];
extraConfig = {
my.home = {
my.hm = {
programs.niri.settings.binds."Mod+End".action.spawn = [
"swaync-client"
"-t"

View File

@@ -13,7 +13,7 @@ lib.my.makeSwitch {
"obs-studio"
];
config' = {
my.home.home.packages = with pkgs; [
my.hm.home.packages = with pkgs; [
(pkgs.wrapOBS {
plugins = with pkgs.obs-studio-plugins; [
wlrobs

View File

@@ -25,7 +25,7 @@ lib.my.makeSwitch {
};
};
my.home = {
my.hm = {
stylix = {
enable = true;
autoEnable = false;
@@ -52,7 +52,7 @@ lib.my.makeSwitch {
name = "Adwaita";
};
gtk2 = {
configLocation = "${config.my.home.xdg.configHome}/gtk-2.0/gtkrc";
configLocation = "${config.my.hm.xdg.configHome}/gtk-2.0/gtkrc";
};
gtk3 = {
theme = {

View File

@@ -8,7 +8,7 @@ lib.my.makeHomeProgramConfig {
"alacritty"
];
extraConfig = {
my.home.programs.alacritty.settings = {
my.hm.programs.alacritty.settings = {
general.import = [ ./tokyonight-storm.toml ];
cursor.style = {
shape = "Block";

View File

@@ -8,7 +8,7 @@ lib.my.makeHomeProgramConfig {
"foot"
];
extraConfig = {
my.home.programs.foot = {
my.hm.programs.foot = {
server.enable = true;
settings = {
main = {

View File

@@ -8,7 +8,7 @@ lib.my.makeHomeProgramConfig {
"ghostty"
];
extraConfig = {
my.home.programs.ghostty = {
my.hm.programs.ghostty = {
enableBashIntegration = true;
enableZshIntegration = true;
installBatSyntax = true;

View File

@@ -8,7 +8,7 @@ lib.my.makeHomeProgramConfig {
"kitty"
];
extraConfig = {
my.home.programs.kitty = {
my.hm.programs.kitty = {
settings = {
cursor_blink_interval = 0;
remember_window_size = "no";

View File

@@ -12,7 +12,7 @@ lib.my.makeSwitch {
"wine"
];
config' = {
my.home.home.packages = with pkgs; [
my.hm.home.packages = with pkgs; [
wineWayland
proton-ge-custom
bottles

View File

@@ -6,7 +6,7 @@
}:
{
config = lib.mkIf config.my.desktop.wm.niri.enable {
my.home.programs.niri.settings = {
my.hm.programs.niri.settings = {
input = {
focus-follows-mouse = {
enable = true;
@@ -132,7 +132,7 @@
];
binds =
with config.my.home.lib.niri.actions;
with config.my.hm.lib.niri.actions;
{
"Ctrl+Alt+T".action.spawn = [
"kitty"

View File

@@ -51,7 +51,7 @@ in
wayland.enable = true;
};
};
my.home = {
my.hm = {
home.packages = with pkgs; [
xwayland-satellite-unstable