[home] add virt-manager

This commit is contained in:
2024-06-28 09:09:05 +08:00
parent 01c9770d31
commit 5c21de5ca1
3 changed files with 23 additions and 0 deletions
+16
View File
@@ -1,5 +1,20 @@
{ pkgs, lib, config, ... }:
{
# This can update XDG_DATA_DIR in .profile, which
# make applications show up in GNOME's application menu.
# See: https://github.com/nix-community/home-manager/issues/1439#issuecomment-673944201
programs.bash.enable = true;
targets.genericLinux.enable = true;
xdg.enable = true;
home.activation = {
linkDesktopApplications = {
after = [ "writeBoundary" "createXdgUserDirectories" ];
before = [ ];
data = "${pkgs.desktop-file-utils}/bin/update-desktop-database";
};
};
home.packages = with pkgs; [
desktop-file-utils
@@ -8,6 +23,7 @@
mpv
feishu
moonlight-qt
virt-manager
];
# An Apple Music client, only can be downloaded after purchasing