diff --git a/modules/home/xdg/default.nix b/modules/home/xdg/default.nix index 76b93e9..3c1a865 100644 --- a/modules/home/xdg/default.nix +++ b/modules/home/xdg/default.nix @@ -12,13 +12,12 @@ enable = true; cacheHome = config.home.homeDirectory + "/.cache"; - # manage $XDG_CONFIG_HOME/mimeapps.list - # xdg search all desktop entries from $XDG_DATA_DIRS, check it by command: - # echo $XDG_DATA_DIRS - # the system-level desktop entries can be list by command: - # 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/ + systemDirs = { + data = [ + "${config.home.homeDirectory}/.local/share/flatpak/exports/share" + "/var/lib/flatpak/exports/share" + ]; + }; userDirs = { enable = true; diff --git a/profiles/apollo/nixos/default.nix b/profiles/apollo/nixos/default.nix index b4674a1..0e0b91b 100644 --- a/profiles/apollo/nixos/default.nix +++ b/profiles/apollo/nixos/default.nix @@ -25,6 +25,9 @@ gnome.gnome-keyring.enable = true; nix-fhs.gui.enable = true; flatpak.enable = true; + apcupsd = { + enable = true; + }; }; security.pam.services.swaylock = { };