Compare commits

..

4 Commits

6 changed files with 44 additions and 12 deletions

View File

@ -10,17 +10,21 @@ in {
./programs/aria2.nix ./programs/aria2.nix
./programs/atuin.nix ./programs/atuin.nix
./programs/beets.nix
./programs/comma.nix ./programs/comma.nix
./programs/direnv ./programs/direnv
./programs/gdb.nix ./programs/gdb.nix
./programs/gh.nix ./programs/gh.nix
./programs/gh-dash.nix
./programs/git ./programs/git
./programs/gpg ./programs/gpg
./programs/jq.nix
./programs/less.nix ./programs/less.nix
./programs/neovim ./programs/neovim
./programs/nix-index ./programs/nix-index
./programs/ssh ./programs/ssh
./programs/tealdeer ./programs/tealdeer
./programs/thunderbird.nix
./programs/tmux.nix ./programs/tmux.nix
./programs/zsh ./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 = { xdg.configFile = {
"ghc/ghci.conf".text = '' "ghc/ghci.conf".text = ''
:set prompt "${extendedLib.termColors.front.magenta "[GHCi]λ"} " :set prompt "${extendedLib.termColors.front.magenta "[GHCi]λ"} "
@ -174,10 +185,7 @@ in {
qt = mkIf graphics { qt = mkIf graphics {
enable = true; enable = true;
platformTheme.name = "gtk"; platformTheme.name = "adwaita";
style = { style.name = "adwaita-dark";
name = "adwaita-dark";
package = pkgs.adwaita-qt;
};
}; };
} }

View File

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