Compare commits

...

2 Commits

Author SHA1 Message Date
8a31f71d80 chore(zen): xdg migration 2026-02-20 17:14:57 +08:00
04116ebfcb chore(hmcl): remove hack 2026-02-20 17:14:37 +08:00
2 changed files with 4 additions and 6 deletions

View File

@@ -2,6 +2,7 @@
config,
lib,
pkgs,
hostname,
...
}:
let
@@ -16,6 +17,7 @@ in
my.hm.programs.zen-browser = {
enable = true;
nativeMessagingHosts = [ pkgs.firefoxpwa ];
suppressXdgMigrationWarning = hostname == "imxyy-nix";
policies = {
# find more options here: https://mozilla.github.io/policy-templates/
DisableAppUpdate = true;
@@ -23,7 +25,7 @@ in
};
};
my.persist.homeDirs = [
".zen"
".config/zen"
];
};
}

View File

@@ -14,11 +14,7 @@ in
config = lib.mkIf cfg.enable {
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"'
'';
})
pkgs.hmcl
];
my.persist.homeDirs = [