home-manager | configs
This commit is contained in:
parent
00bd801a0b
commit
f7d170c643
1 changed files with 33 additions and 15 deletions
|
|
@ -1,10 +1,9 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Home Manager needs a bit of information about you and the
|
|
||||||
# paths it should manage.
|
|
||||||
home.username = "don";
|
home.username = "don";
|
||||||
home.homeDirectory = "/home/don";
|
home.homeDirectory = "/home/don";
|
||||||
|
home.stateVersion = "22.05";
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.bc
|
pkgs.bc
|
||||||
|
|
@ -22,12 +21,10 @@
|
||||||
pkgs.gtop
|
pkgs.gtop
|
||||||
pkgs.isync
|
pkgs.isync
|
||||||
pkgs.jq
|
pkgs.jq
|
||||||
pkgs.keychain
|
|
||||||
pkgs.khal
|
pkgs.khal
|
||||||
pkgs.khard
|
pkgs.khard
|
||||||
pkgs.links2
|
pkgs.links2
|
||||||
pkgs.mairix
|
pkgs.mairix
|
||||||
pkgs.mpv
|
|
||||||
pkgs.mutt
|
pkgs.mutt
|
||||||
pkgs.mutt-ics
|
pkgs.mutt-ics
|
||||||
pkgs.nerdfonts
|
pkgs.nerdfonts
|
||||||
|
|
@ -50,16 +47,37 @@
|
||||||
pkgs.vit
|
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.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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue