Add default apps to open and dconf settings

This commit is contained in:
Jimbo 2024-08-26 21:28:40 -04:00
parent 79ed68cd04
commit b627d552b5
4 changed files with 11 additions and 14 deletions

View file

@ -0,0 +1,8 @@
{pkgs, ...}: {
home.packages = with pkgs; [
steam
steam-run
heroic
prismlauncher
];
}

View file

@ -0,0 +1,30 @@
{pkgs, inputs, ...}: {
# Select default apps
xdg.mimeApps.defaultApplications = {
"inode/directory" = ["pcmanfm-qt.desktop"];
"text/plain" = ["nvim.desktop"];
"image/png" = ["imv.desktop"];
"image/jpeg" = ["imv.desktop"];
"video/*" = ["mpv.desktop"];
};
# Set dconf settings
dconf.settings = {
"org/gnome/desktop/interface/color-scheme" = {
color-scheme = "prefer-dark";
};
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
};
home.file = let
alsoftConf = ''
drivers=pulse
'';
in {
# Alsoft config
".alsoftrc".text = alsoftConf;
};
}