configuration.nix/home/default.nix

29 lines
728 B
Nix
Raw Normal View History

2023-07-11 22:41:18 +05:30
_: {
2023-05-18 16:11:26 +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 = {
"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"];
2023-11-03 18:16:02 +05:30
"x-scheme-handler/tg" = ["org.telegram.desktop.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;
};
};
}