Add default apps to open and dconf settings
This commit is contained in:
parent
79ed68cd04
commit
b627d552b5
4 changed files with 11 additions and 14 deletions
8
home-manager/misc/gaming.nix
Normal file
8
home-manager/misc/gaming.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
steam
|
||||
steam-run
|
||||
heroic
|
||||
prismlauncher
|
||||
];
|
||||
}
|
30
home-manager/misc/variables.nix
Normal file
30
home-manager/misc/variables.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue