aboutsummaryrefslogblamecommitdiff
path: root/users/fcuny/desktop.nix
blob: d52d596ef304051b70aeafedbf62b0c29fd51b34 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                           




                                   
                                  

                                       
                                            



                                             




                                                    

                  
                           
























                                                 


                
               
                  
    
 
{ config, lib, pkgs, ... }:

{
  xdg.enable = true;

  xdg.userDirs = {
    enable = true;
    createDirectories = true;
    desktop = "\$HOME/documents";
    documents = "\$HOME/documents";
    download = "\$HOME/downloads";
    music = "\$HOME/media/music";
    pictures = "\$HOME/media/pictures";
    publicShare = "\$HOME/documents/public";
    templates = "\$HOME/documents/templates";
    videos = "\$HOME/media/videos";
  };

  # This is required for the gtk configuration below
  home.packages = [
    pkgs.gnome3.dconf
  ];

  gtk = {
    enable = true;
    theme.name = "Adwaita";
    iconTheme = {
      name = "Adwaita";
      package = pkgs.gnome3.adwaita-icon-theme;
    };

    gtk2 = {
      extraConfig = ''
        gtk-application-prefer-dark-theme = true
        gtk-xft-antialias = 1
        gtk-xft-hinting = 1
        gtk-xft-hintstyle = "hintslight"
        gtk-cursor-theme-size = cursorSize
      '';
    };

    gtk3 = {
      extraConfig = {
        gtk-application-prefer-dark-theme = true;
        gtk-xft-antialias = 1;
        gtk-xft-hinting = 1;
        gtk-xft-hintstyle = "hintslight";
      };
    };
  };

  imports = [
    ./common.nix
    ./i3.nix
    ./media.nix
    ./terminal.nix
  ];
}