Add a bunch of programs and update lock file

This commit is contained in:
Serhii Korzh 2023-10-28 12:05:20 +02:00
parent 7bf2c8aa84
commit c83cb13b2a
Signed by: serge
GPG Key ID: A047CB52F2F640B7
2 changed files with 51 additions and 21 deletions

View File

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1697964592,
"narHash": "sha256-fua0LKNLkYYK2Dgdm9P+VPdqrVgDXUIx+EkQAQByhuc=",
"lastModified": 1698479159,
"narHash": "sha256-rJHBDwW4LbADEfhkgGHjKGfL2dF44NrlyXdXeZrQahs=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "219d268a69512ff520fe8da1739ac22d95d52355",
"rev": "f92a54fef4eacdbe86b0a2054054dd58b0e2a2a4",
"type": "github"
},
"original": {
@ -22,11 +22,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1697723726,
"narHash": "sha256-SaTWPkI8a5xSHX/rrKzUe+/uVNy6zCGMXgoeMb7T9rg=",
"lastModified": 1698318101,
"narHash": "sha256-gUihHt3yPD7bVqg+k/UVHgngyaJ3DMEBchbymBMvK1E=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "7c9cc5a6e5d38010801741ac830a3f8fd667a7a0",
"rev": "63678e9f3d3afecfeafa0acead6239cdb447574c",
"type": "github"
},
"original": {

View File

@ -49,26 +49,15 @@
programs.fish = {
enable = true;
plugins = [
# Enable a plugin (here grc for colorized command output) from nixpkgs
{ name = "tide"; src = pkgs.fishPlugins.tide.src; }
# Manually packaging and enable a plugin
{
name = "z";
src = pkgs.fetchFromGitHub {
owner = "jethrokuan";
repo = "z";
rev = "e0e1b9dfdba362f8ab1ae8c1afc7ccf62b89f7eb";
sha256 = "0dbnir6jbwjpjalz14snzd3cgdysgcs3raznsijd6savad3qhijc";
};
}
# { name = "fzf"; src = pkgs.fishplugins.fzf-fish.src; }
{ name = "z"; src = pkgs.fishPlugins.z.src; }
];
# TODO: check your config from dotfiles
};
# TODO: install keyd or another way to use CapsLock for Esc
# TODO: color-scheme-monitor?
# TODO: zellij?
programs.alacritty = {
enable = true;
@ -118,7 +107,7 @@
userName = "Serhii Korzh";
userEmail = "serge.korzh@pm.me";
# TODO: check aliases that I'm used to and change email according to project used
# TODO: add GPG signing
delta = {
enable = true;
options = {
@ -134,12 +123,17 @@
};
};
signing = {
signByDefault = true;
key = null;
};
extraConfig = {
core = {
whitespace = "space-before-tab, trailing-space";
};
credential = {
helper = "cache --timeout=3600";
helper = "cache --timeout=1800";
};
commit = {
verbose = true;
@ -219,6 +213,42 @@
};
programs.gpg = {
enable = true;
settings = {
no-emit-version = true;
no-comments = true;
display-charset = "utf-8";
keyid-format = "0xlong";
with-fingerprint = true;
use-agent = true;
};
};
services.gpg-agent = {
enable = true;
defaultCacheTtl = 1800;
enableSshSupport = true;
};
programs.fzf = {
enable = true;
};
programs.bat = {
enable = true;
};
programs.nnn = {
enable = true;
};
programs.zellij = {
enable = true;
enableFishIntegration = true;
};
programs.vscode = {
enable = true;
package = pkgs.vscodium;