Compare commits

..

4 Commits

6 changed files with 44 additions and 12 deletions

View File

@ -10,17 +10,21 @@ in {
./programs/aria2.nix
./programs/atuin.nix
./programs/beets.nix
./programs/comma.nix
./programs/direnv
./programs/gdb.nix
./programs/gh.nix
./programs/gh-dash.nix
./programs/git
./programs/gpg
./programs/jq.nix
./programs/less.nix
./programs/neovim
./programs/nix-index
./programs/ssh
./programs/tealdeer
./programs/thunderbird.nix
./programs/tmux.nix
./programs/zsh
@ -101,6 +105,13 @@ in {
};
};
xsession = {
enable = true;
# TODO: declare using xdg config home
scriptPath = ".config/X11/xsession";
profilePath = ".config/X11/xprofile";
};
xdg.configFile = {
"ghc/ghci.conf".text = ''
:set prompt "${extendedLib.termColors.front.magenta "[GHCi]λ"} "
@ -174,10 +185,7 @@ in {
qt = mkIf graphics {
enable = true;
platformTheme.name = "gtk";
style = {
name = "adwaita-dark";
package = pkgs.adwaita-qt;
};
platformTheme.name = "adwaita";
style.name = "adwaita-dark";
};
}

View File

@ -1,7 +1,6 @@
{ pkgs, config, machineVars, ... }:
{
home.packages = with pkgs; [
beets
binutils
cloc
cyme
@ -12,7 +11,6 @@
duff
ffmpeg
file
gh-dash
glances
gpg-tui
gping
@ -20,7 +18,6 @@
hexyl
httpie
imagemagick
jq
kepubify
# keybase
keymapviz
@ -35,7 +32,6 @@
mtr
neofetch
nix-diff
nix-index
nix-output-monitor
nix-tree
nix-update
@ -85,7 +81,6 @@
alsa-utils
anki
ark
birdtray
calibre
cool-retro-term
darktable
@ -114,6 +109,7 @@
mopidy-youtube
mpc_cli
naps2
nsxiv
nyxt
obsidian
# pcloud
@ -124,11 +120,9 @@
slack
# sublime3
# swiPrologWithGui
sxiv
tagainijisho
tenacity
thunderbird
# transcribe
wireshark
xcalib

4
home/programs/beets.nix Normal file
View File

@ -0,0 +1,4 @@
{ ... }:
{
programs.beets.enable = true;
}

View File

@ -0,0 +1,4 @@
{ ... }:
{
programs.gh-dash.enable = true;
}

4
home/programs/jq.nix Normal file
View File

@ -0,0 +1,4 @@
{ ... }:
{
programs.jq.enable = true;
}

View File

@ -0,0 +1,18 @@
{ config, pkgs, lib, machineVars, ... }:
let
cfg = config.programs.thunderbird;
in
{
programs.thunderbird = {
enable = !machineVars.headless;
profiles.h7x4 = {
isDefault = true;
withExternalGnupg = true;
};
};
home.packages = lib.mkIf cfg.enable (with pkgs; [
birdtray
]);
}