Catppuccin stuff. And cleaning

master
Dustin Swan 2 years ago
parent 89d34c7be9
commit 15bbe5f438
Signed by: dustinswan
GPG Key ID: AB49BD6B2B3A6377

@ -6,14 +6,13 @@ in
{ {
home.stateVersion = "18.09"; home.stateVersion = "18.09";
home.packages = with pkgs; [ # magic-wormhole home.packages = with pkgs; [
ripgrep fd mosh w3m nnn hexyl wget httpie timg sox du-dust restic bitwarden-cli gnupg gpg-tui rage sd libqalculate glow spotify-tui spotifyd amfora duf pandoc pastel jq jo fx jc miller sc-im cacert weechat ddgr # visidata ripgrep fd mosh w3m nnn hexyl wget httpie timg sox du-dust restic bitwarden-cli gnupg gpg-tui rage sd libqalculate glow spotify-tui spotifyd amfora duf pandoc pastel jq jo fx jc miller sc-im cacert weechat ddgr visidata magic-wormhole
nixfmt shellcheck vale tectonic zathura # lilypond-with-fonts nixfmt shellcheck vale tectonic zathura # lilypond-with-fonts
nodejs deno yarn nodePackages.typescript-language-server nodePackages.stylelint nodePackages.js-beautify nodePackages.expo-cli nodejs deno yarn nodePackages.typescript-language-server nodePackages.stylelint nodePackages.js-beautify nodePackages.expo-cli
ocaml dune_2 ocamlPackages.utop ocamlPackages.ocp-indent ocamlPackages.merlin ocaml dune_2 ocamlPackages.utop ocamlPackages.ocp-indent ocamlPackages.merlin
rustup go cmake rustup go cmake racket-minimal
# racket-minimal # ghc haskell-language-server hlint haskellPackages.hoogle
ghc haskell-language-server hlint haskellPackages.hoogle
lua53Packages.luarocks lua53Packages.luarocks
ispell aspell aspellDicts.en aspellDicts.en-computers aspellDicts.en-science aspellDicts.fr aspellDicts.de aspellDicts.eo aspellDicts.es ispell aspell aspellDicts.en aspellDicts.en-computers aspellDicts.en-science aspellDicts.fr aspellDicts.de aspellDicts.eo aspellDicts.es
]; ];
@ -21,13 +20,8 @@ in
home.sessionVariables = { home.sessionVariables = {
EDITOR = "vim"; EDITOR = "vim";
BROWSER = "open"; BROWSER = "open";
MANPAGER = "sh -c 'col -bx | bat -l man -p'";
PATH = "$PATH:${builtins.getEnv "HOME"}/.cargo/bin:${builtins.getEnv "HOME"}/.local/bin";
EXA_ICON_SPACING = 2;
}; };
fonts.fontconfig.enable = true;
programs.home-manager.enable = true; programs.home-manager.enable = true;
programs.tmux = { programs.tmux = {
@ -70,6 +64,7 @@ in
programs.zoxide = { # z doc -> cd ~/Documents; zi -> interactive programs.zoxide = { # z doc -> cd ~/Documents; zi -> interactive
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
enableFishIntegration = true;
}; };
programs.zsh = { programs.zsh = {
@ -94,20 +89,45 @@ in
}; };
}; };
programs.fish = {
enable = true;
# enableAutosuggestions = true;
# enableSyntaxHighlighting = true;
# oh-my-zsh = {
# enable = true;
# plugins = [ "git" "httpie" "aws" "fd" "fzf" "mosh" "npm" "ripgrep" "rsync" "sudo" "yarn" "vi-mode" ];
# };
shellAliases = {
v = "vim";
l = "exa -lah --icons --git";
n = "nnn";
h = "himalaya";
er = "rm -rf logs; unzip -o";
srsync = "rsync --rsync-path='sudo rsync'";
lg = "lazygit";
ambient1 = "play -n -c1 synth whitenoise lowpass -1 120 lowpass -1 120 lowpass -1 120 gain +16";
ambient2 = "play -c 2 -n synth brownnoise lowpass 200";
ambient3 = "play -c 2 -n synth brownnoise lowpass 150 loudness +10";
};
};
programs.direnv = { programs.direnv = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
# enableFishIntegration = true;
}; };
programs.starship = { programs.starship = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
enableFishIntegration = true;
}; };
programs.fzf = { programs.fzf = {
# ctrl-t, ctrl-r, ssh **<tab> # ctrl-t, ctrl-r, ssh **<tab>
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
enableFishIntegration = true;
defaultCommand = "fd --type file --color=always"; defaultCommand = "fd --type file --color=always";
defaultOptions = [ defaultOptions = [
"--height 40%" "--height 40%"
@ -126,6 +146,7 @@ in
# ctrl-G # ctrl-G
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
enableFishIntegration = true;
}; };
programs.ssh = { programs.ssh = {
@ -216,7 +237,7 @@ in
programs.helix = { programs.helix = {
enable = true; enable = true;
settings = { settings = {
theme = "catpuccin"; theme = "catppuccin_mocha";
editor = { editor = {
cursorline = true; cursorline = true;
lsp.display-messages = true; lsp.display-messages = true;
@ -238,8 +259,16 @@ in
programs.bat = { programs.bat = {
enable = true; enable = true;
themes = {
Catppuccin-mocha = builtins.readFile (pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "bat";
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
sha256 = "6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=";
} + "/Catppuccin-mocha.tmTheme");
};
config = { config = {
theme = "Nord"; theme = "Catppuccin-mocha";
}; };
}; };
@ -252,6 +281,7 @@ in
programs.keychain = { programs.keychain = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
enableFishIntegration = true;
inheritType = "any"; inheritType = "any";
agents = [ "gpg" "ssh" ]; agents = [ "gpg" "ssh" ];
keys = [ "id_rsa" "2B3A6377" ]; keys = [ "id_rsa" "2B3A6377" ];

@ -1,7 +1,8 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [ iosevka-bin ]; # home.packages = with pkgs; [ iosevka-bin ];
fonts.fontconfig.enable = true;
programs.alacritty = { programs.alacritty = {
enable = true; enable = true;

@ -4,7 +4,7 @@ let
secrets = import ./secrets.nix; secrets = import ./secrets.nix;
in in
{ {
home.packages = with pkgs; [ vdirsyncer khard imapnotify ]; # khal home.packages = with pkgs; [ vdirsyncer khard khal imapnotify ];
programs.mbsync.enable = true; programs.mbsync.enable = true;
@ -16,7 +16,7 @@ in
sort = "reverse-threads"; sort = "reverse-threads";
}; };
# programs.himalaya.enable = true; programs.himalaya.enable = true;
programs.aerc = { programs.aerc = {
enable = true; enable = true;
@ -81,15 +81,6 @@ in
}; };
}; };
# home.file.aerc-accounts = {
# target = ".config/aerc/accounts.conf";
# text = ''[FastMail]
# source = maildir://~/Mail/FastMail
# from = "Dustin Swan <dustin@dustinswan.com>"
# outgoing = ${builtins.getEnv "HOME"}/.nix-profile/bin/msmtp --read-envelope-from
# '';
# };
home.file.vdirsyncer = { home.file.vdirsyncer = {
target = ".config/vdirsyncer/config"; target = ".config/vdirsyncer/config";
text = ''[general] text = ''[general]

@ -0,0 +1,18 @@
color listnormal color15 default
color listnormal_unread color2 default
color listfocus_unread color2 color0
color listfocus default color0
color background default default
color article default default
color end-of-text-marker color8 default
color info color4 color8
color hint-separator default color8
color hint-description default color8
color title color14 color8
highlight article "^(Feed|Title|Author|Link|Date): .+" color4 default bold
highlight article "^(Feed|Title|Author|Link|Date):" color14 default bold
highlight article "\\((link|image|video)\\)" color8 default
highlight article "https?://[^ ]+" color4 default
highlight article "\[[0-9]+\]" color6 default bold
Loading…
Cancel
Save