2024-04-06 12:44:23 -07:00
|
|
|
{ config, lib, pkgs, user, inputs, ... }:
|
2023-07-10 17:52:34 -07:00
|
|
|
{
|
2024-04-08 20:36:24 -07:00
|
|
|
imports = [ ./keyd.nix ./browser.nix ./gnome.nix ./sway.nix ];
|
2024-04-06 12:44:23 -07:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
bc
|
|
|
|
fzf
|
|
|
|
gamemode
|
|
|
|
discord
|
|
|
|
inkscape
|
|
|
|
libreoffice-fresh
|
|
|
|
xournal
|
|
|
|
mpv
|
|
|
|
p7zip
|
|
|
|
borgbackup
|
2024-04-08 21:15:08 -07:00
|
|
|
gimp
|
2024-04-06 12:44:23 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
# xdg-desktop-portal settings
|
|
|
|
services.dbus.enable = true;
|
|
|
|
xdg = {
|
|
|
|
mime = {
|
|
|
|
enable = true;
|
|
|
|
addedAssociations = {
|
|
|
|
"text/plain" = [ "nvim.desktop" ];
|
|
|
|
"inode/directory" = [ "pcmanfm.desktop" ];
|
|
|
|
"text/html" = [ "google-chrome.desktop" ];
|
|
|
|
"x-scheme-handler/http" = [ "google-chrome.desktop" ];
|
|
|
|
"x-scheme-handler/https" = [ "google-chrome.desktop" ];
|
|
|
|
"x-scheme-handler/ftp" = [ "google-chrome.desktop" ];
|
|
|
|
"x-scheme-handler/chrome" = [ "google-chrome.desktop" ];
|
|
|
|
"x-scheme-handler/about" = [ "google-chrome.desktop" ];
|
|
|
|
"x-scheme-handler/unknown" = [ "google-chrome.desktop" ];
|
|
|
|
"application/x-extension-htm" = [ "google-chrome.desktop" ];
|
|
|
|
"application/x-extension-html" = [ "google-chrome.desktop" ];
|
|
|
|
"application/x-extension-shtml" = [ "google-chrome.desktop" ];
|
|
|
|
"application/xhtml+xml" = [ "google-chrome.desktop" ];
|
|
|
|
"application/x-extension-xhtml" = [ "google-chrome.desktop" ];
|
|
|
|
"application/x-extension-xht" = [ "google-chrome.desktop" ];
|
|
|
|
"application/pdf" = [ "google-chrome.desktop" ];
|
|
|
|
};
|
|
|
|
defaultApplications = {
|
|
|
|
"text/plain" = [ "nvim.desktop" ];
|
|
|
|
"inode/directory" = [ "pcmanfm.desktop" ];
|
|
|
|
"text/html" = [ "google-chrome.desktop" ];
|
|
|
|
"x-scheme-handler/http" = [ "google-chrome.desktop" ];
|
|
|
|
"x-scheme-handler/https" = [ "google-chrome.desktop" ];
|
|
|
|
"x-scheme-handler/ftp" = [ "google-chrome.desktop" ];
|
|
|
|
"x-scheme-handler/chrome" = [ "google-chrome.desktop" ];
|
|
|
|
"x-scheme-handler/about" = [ "google-chrome.desktop" ];
|
|
|
|
"x-scheme-handler/unknown" = [ "google-chrome.desktop" ];
|
|
|
|
"application/x-extension-htm" = [ "google-chrome.desktop" ];
|
|
|
|
"application/x-extension-html" = [ "google-chrome.desktop" ];
|
|
|
|
"application/x-extension-shtml" = [ "google-chrome.desktop" ];
|
|
|
|
"application/xhtml+xml" = [ "google-chrome.desktop" ];
|
|
|
|
"application/x-extension-xhtml" = [ "google-chrome.desktop" ];
|
|
|
|
"application/x-extension-xht" = [ "google-chrome.desktop" ];
|
|
|
|
"application/pdf" = [ "google-chrome.desktop" ]; };
|
|
|
|
};
|
|
|
|
};
|
2023-07-10 17:52:34 -07:00
|
|
|
}
|