home-manager | configs

This commit is contained in:
Don Harper 2022-09-13 21:46:56 -05:00
parent 00bd801a0b
commit f7d170c643

View file

@ -1,10 +1,9 @@
{ config, pkgs, ... }:
{
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "don";
home.homeDirectory = "/home/don";
home.stateVersion = "22.05";
home.packages = [
pkgs.bc
@ -22,12 +21,10 @@
pkgs.gtop
pkgs.isync
pkgs.jq
pkgs.keychain
pkgs.khal
pkgs.khard
pkgs.links2
pkgs.mairix
pkgs.mpv
pkgs.mutt
pkgs.mutt-ics
pkgs.nerdfonts
@ -50,16 +47,37 @@
pkgs.vit
];
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "22.05";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.keychain = {
enable = true;
enableBashIntegration = true;
agents = "ssh";
keys = "id_aur id_dsa id_ed25519 id_rsa 56913AD86A18257132AA9F03928BC0B78C1BF5AA";
inheritType = "any";
};
programs.mpv = {
enable = true;
config = {
cache-dir = "~/.cache";
cache-on-disk = "yes";
cache = "yes";
demuxer-max-back-bytes = "100M";
demuxer-max-bytes = "500M";
demuxer-readahead-secs = "20";
pause = "no";
save-position-on-quit = "yes";
slang = "en";
user-agent = "Mozilla/5.0";
ytdl-format="bestvideo[height<=?1080]+bestaudio/best";
ytdl-raw-options = "no-playlist=";
ytdl = "yes";
script-opts = "ytdl_hook-ytdl_path=yt-dlp";
};
scripts = [ pkgs.mpvScripts.autoload ];
};
services.gpg-agent = {
enable = true;
defaultCacheTtl = 1800;
enableSshSupport = true;
};
}