feat: migrate away from zpreszto
This commit is contained in:
parent
594bc16677
commit
889e07f917
24
flake.lock
24
flake.lock
@ -50,11 +50,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752541678,
|
"lastModified": 1753140376,
|
||||||
"narHash": "sha256-dyhGzkld6jPqnT/UfGV2oqe7tYn7hppAqFvF3GZTyXY=",
|
"narHash": "sha256-7lrVrE0jSvZHrxEzvnfHFE/Wkk9DDqb+mYCodI5uuB8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "2bf3421f7fed5c84d9392b62dcb9d76ef09796a7",
|
"rev": "545aba02960caa78a31bd9a8709a0ad4b6320a5c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -166,11 +166,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752603129,
|
"lastModified": 1753180535,
|
||||||
"narHash": "sha256-S+wmHhwNQ5Ru689L2Gu8n1OD6s9eU9n9mD827JNR+kw=",
|
"narHash": "sha256-KEtlzMs2O7FDvciFtjk9W4hyau013Pj9qZNK9a0PxEc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "e8c19a3cec2814c754f031ab3ae7316b64da085b",
|
"rev": "847711c7ffa9944b0c5c39a8342ac8eb6a9f9abc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -225,11 +225,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752480373,
|
"lastModified": 1752950548,
|
||||||
"narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=",
|
"narHash": "sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "62e0f05ede1da0d54515d4ea8ce9c733f12d9f08",
|
"rev": "c87b95e25065c028d31a94f06a62927d18763fdf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -265,11 +265,11 @@
|
|||||||
"systems": "systems_4"
|
"systems": "systems_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752546848,
|
"lastModified": 1752976861,
|
||||||
"narHash": "sha256-WzHqmJ1wEZoUGAedomwcVLCuNsiB9bZzZXk7K9ZDBwk=",
|
"narHash": "sha256-59HcrqHfbSJUdmpzrAa9x8fW1PoS+ZGhCjL5k5HbyV8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "1fb1bf8a73ccf207dbe967cdb7f2f4e0122c8bd5",
|
"rev": "0c50ed9349199219583cb1ed1a972d71e06039ec",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -107,6 +107,7 @@
|
|||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgs.nixd
|
pkgs.nixd
|
||||||
|
agenix.packages.${system}.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}:
|
||||||
|
{
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
zsh-completions
|
zsh-completions
|
||||||
@ -12,7 +13,6 @@
|
|||||||
lazygit
|
lazygit
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
programs.bat = {
|
programs.bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
@ -30,11 +30,12 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.git.extraConfig = {
|
|
||||||
user.signingkey = "~/.ssh/id_ed25519.pub";
|
|
||||||
};
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
syntaxHighlighting.enable = true;
|
||||||
|
autosuggestion.enable = true;
|
||||||
|
autocd = true;
|
||||||
history = {
|
history = {
|
||||||
size = 1000000;
|
size = 1000000;
|
||||||
extended = true;
|
extended = true;
|
||||||
@ -44,23 +45,23 @@
|
|||||||
ignoreAllDups = true;
|
ignoreAllDups = true;
|
||||||
ignoreSpace = true;
|
ignoreSpace = true;
|
||||||
};
|
};
|
||||||
syntaxHighlighting.enable = true;
|
historySubstringSearch.enable = true;
|
||||||
prezto = {
|
# prezto = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
editor.keymap = "vi";
|
# editor.keymap = "vi";
|
||||||
editor.dotExpansion = true;
|
# editor.dotExpansion = true;
|
||||||
pmodules = [
|
# pmodules = [
|
||||||
"environment"
|
# # "environment"
|
||||||
"terminal"
|
# # "terminal"
|
||||||
"utility"
|
# # "utility"
|
||||||
"directory"
|
# # "directory"
|
||||||
"editor"
|
# # "editor"
|
||||||
"history"
|
# # "history"
|
||||||
"syntax-highlighting"
|
# # "syntax-highlighting"
|
||||||
"history-substring-search"
|
# # "history-substring-search"
|
||||||
"autosuggestions"
|
# # "autosuggestions"
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
cat = "bat --theme=\"$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo 'gruvbox-dark' || echo 'gruvbox-light')\"";
|
cat = "bat --theme=\"$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo 'gruvbox-dark' || echo 'gruvbox-light')\"";
|
||||||
lg = "lazygit";
|
lg = "lazygit";
|
||||||
@ -77,7 +78,7 @@
|
|||||||
programs.eza = {
|
programs.eza = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
extraOptions = ["--group-directories-first"];
|
extraOptions = [ "--group-directories-first" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{pkgs, lib, ...}:{
|
{ pkgs, lib, ... }:
|
||||||
|
{
|
||||||
home.username = "yadunut";
|
home.username = "yadunut";
|
||||||
home.homeDirectory = "/home/yadunut";
|
home.homeDirectory = "/home/yadunut";
|
||||||
|
|
||||||
@ -33,8 +34,8 @@
|
|||||||
programs.git.extraConfig = {
|
programs.git.extraConfig = {
|
||||||
user.signingkey = "~/.ssh/id_ed25519.pub";
|
user.signingkey = "~/.ssh/id_ed25519.pub";
|
||||||
credential.helper = lib.mkForce [
|
credential.helper = lib.mkForce [
|
||||||
"${pkgs.git.override { withLibsecret = true; }}/bin/git-credential-libsecret"
|
"${pkgs.git.override { withLibsecret = true; }}/bin/git-credential-libsecret"
|
||||||
"${pkgs.git-credential-oauth}/bin/git-credential-oauth"
|
"${pkgs.git-credential-oauth}/bin/git-credential-oauth"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
home.stateVersion = "25.11";
|
home.stateVersion = "25.11";
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
pkgs.emacs
|
pkgs.emacs
|
||||||
pkgs.devenv
|
pkgs.devenv
|
||||||
pkgs.jj
|
pkgs.jj
|
||||||
|
pkgs.dive
|
||||||
|
|
||||||
|
|
||||||
# # It is sometimes useful to fine-tune packages, for example, by applying
|
# # It is sometimes useful to fine-tune packages, for example, by applying
|
||||||
@ -97,8 +98,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.kitty.shellIntegration.enableZshIntegration = true;
|
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user