summaryrefslogtreecommitdiffstats
path: root/profiles/desktop.nix
blob: 2a8d63922e899ac8cb2fd8bc8254be7d33cff5a6 (plain)
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
inputs: {pkgs, ...}: {
  imports = [
    inputs.self.nixosModules.usecases.desktop.default
  ];

  users.extraUsers.minijackson.packages = with pkgs; [
    aria2
    tmuxp
    taskwarrior
    tokei
    neofetch
    ffmpeg
    pavucontrol
    pandoc
    poppler_utils
    aspell
    aspellDicts.en
    aspellDicts.en-computers
    aspellDicts.en-science
    aspellDicts.fr
  ];

  services.passSecretService.enable = true;

  home-manager.users.minijackson = {
    programs.yt-dlp = {
      enable = true;
      package = pkgs.unstable.yt-dlp;
      settings = {
        downloader = "aria2c";
        downloader-args = "aria2c:'--continue --max-connection-per-server=8 --split=8 --min-split-size=1M'";
      };
    };

    programs.password-store.enable = true;

    xdg.userDirs = {
      enable = true;
      createDirectories = true;
    };
  };
}