about summary refs log tree commit diff
path: root/hosts/phobos/home.nix
blob: b56be45490c875b86f0df64ed00b02fd55801c63 (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
{ config, lib, pkgs, inputs, user, hostname, secrets, ... }:
{
  home.packages = with pkgs; [
    minecraft
    jetbrains.idea-community
    calibre
    qtcreator
    custom.anime-downloader
    custom.adl
    custom.trackma
    custom.kindlegen
    kcc
  ];

  xdg.configFile."dwmbar/config".text = ''
    #!/bin/sh

    # What modules, in what order
    MODULES="weather wifi internet volume ram_perc cpuload cputemp battery date time"

    # Modules that require an active internet connection
    ONLINE_MODULES="weather internet"

    # Delay between showing the status bar
    DELAY="0.05"

    # Where the custom modules are stored
    CUSTOM_DIR="/home/$USER/.config/dwmbar/modules/custom/"

    # Separator between modules
    SEPARATOR=" | "

    # Padding at the end and beggining of the status bar
    RIGHT_PADDING=" "
    LEFT_PADDING=" "
  '';

  home.file.".cache/nix-index/files".source = inputs.nix-index.legacyPackages.x86_64-linux.database;
}