configuration.nix/home/default.nix

30 lines
810 B
Nix
Raw Normal View History

2024-03-06 22:33:11 +05:30
_: {
2023-11-04 16:12:45 +05:30
imports = [ ./programs ./services ./wm ./gtk.nix ./persistence.nix ];
2023-06-02 11:28:54 +05:30
home.stateVersion = "23.11";
2023-10-02 17:23:23 +05:30
xdg = {
2023-07-16 17:32:38 +05:30
enable = true;
2023-10-02 17:23:23 +05:30
mime.enable = true;
mimeApps = {
enable = true;
defaultApplications = {
2023-11-04 16:12:45 +05:30
"application/pdf" = [ "org.gnome.Evince.desktop" ];
"image/gif" = [ "org.gnome.eog.desktop" ];
"image/jpeg" = [ "org.gnome.eog.desktop" ];
"image/png" = [ "org.gnome.eog.desktop" ];
"image/webp" = [ "org.gnome.eog.desktop" ];
"x-scheme-handler/tg" = [ "org.telegram.desktop.desktop" ];
2024-03-23 18:01:21 +05:30
"x-scheme-handler/magnet" = [ "transmission-gtk.desktop" ];
2023-10-02 17:23:23 +05:30
};
2023-07-16 17:32:38 +05:30
};
2023-10-02 17:23:23 +05:30
userDirs.enable = true;
2023-10-02 17:23:23 +05:30
desktopEntries."nixos-manual" = {
name = "NixOS Manual";
exec = "nixos-help";
noDisplay = true;
};
};
}