增加 1. apc ups 服务 2. flatpak desktop目录

This commit is contained in:
2025-05-28 14:30:28 +08:00
parent b1540dfb96
commit ce7331fb35
2 changed files with 9 additions and 7 deletions

View File

@@ -12,13 +12,12 @@
enable = true; enable = true;
cacheHome = config.home.homeDirectory + "/.cache"; cacheHome = config.home.homeDirectory + "/.cache";
# manage $XDG_CONFIG_HOME/mimeapps.list systemDirs = {
# xdg search all desktop entries from $XDG_DATA_DIRS, check it by command: data = [
# echo $XDG_DATA_DIRS "${config.home.homeDirectory}/.local/share/flatpak/exports/share"
# the system-level desktop entries can be list by command: "/var/lib/flatpak/exports/share"
# ls -l /run/current-system/sw/share/applications/ ];
# the user-level desktop entries can be list by command(user ryan): };
# ls /etc/profiles/per-user/ryan/share/applications/
userDirs = { userDirs = {
enable = true; enable = true;

View File

@@ -25,6 +25,9 @@
gnome.gnome-keyring.enable = true; gnome.gnome-keyring.enable = true;
nix-fhs.gui.enable = true; nix-fhs.gui.enable = true;
flatpak.enable = true; flatpak.enable = true;
apcupsd = {
enable = true;
};
}; };
security.pam.services.swaylock = { }; security.pam.services.swaylock = { };