about summary refs log blame commit diff
path: root/hosts/phobos/home.nix
blob: b56be45490c875b86f0df64ed00b02fd55801c63 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                            
             


                            


                           
                    
       
    






















                                                                                     

                                                                                                    
 
{ 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;
}