about summary refs log tree commit diff
path: root/users/fcuny/desktop/default.nix
blob: 745044443501915414617c2f2724193a1bb147a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ config, lib, pkgs, ... }:

{
  imports = [
    ./browser.nix
    ./emacs.nix
    ./gtk.nix
    ./multimedia.nix
    ./scanner-printer
    ./syncthing.nix
    ./terminal.nix
    ./wm
    ./xdg.nix
    ./theme.nix
  ];

  base16-theme.enable = true;

  home.packages = [
    pkgs.easyeffects
    pkgs.gnome.seahorse
    pkgs.gnome3.eog
    pkgs.gnome3.evince
    pkgs.pcmanfm
    pkgs.transmission-remote-gtk
    pkgs.xdg-utils
    pkgs.element-desktop
  ];

  home = {
    sessionVariables = {
      TERMINAL = [ "alacritty" ];
      TERM = [ "xterm-256color" ];
    };
  };

  systemd.user.tmpfiles.rules = [
    # Delete files that are 90 days old
    "d %h/.cache - - - amAM:90d -"
    "x %h/.cache/.nobackup - - - - -"
    # Delete files that are 1 year old
    "d %h/downloads - - - amAM:365d -"
    "x %h/downloads/.nobackup - - - - -"
  ];
}