configuration.nix/home/default.nix

38 lines
999 B
Nix
Raw Normal View History

2024-02-17 16:28:05 +05:30
{ pkgs, ... }: {
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" ];
2023-10-02 17:23:23 +05:30
};
2023-07-16 17:32:38 +05:30
};
2024-02-17 16:28:05 +05:30
portal = {
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ];
config = {
common = {
default = [ "gtk" ];
};
};
configPackages = with pkgs; [ hyprland ];
};
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;
};
};
}