Cleanup
This commit is contained in:
parent
83597f449f
commit
66e05f8d74
37
home.nix
37
home.nix
@ -1,22 +1,21 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Home Manager needs a bit of information about you and the
|
|
||||||
# paths it should manage.
|
|
||||||
home.username = "abhinav";
|
home.username = "abhinav";
|
||||||
home.homeDirectory = "/Users/abhinav";
|
home.homeDirectory = "/Users/abhinav";
|
||||||
|
|
||||||
# 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";
|
home.stateVersion = "22.05";
|
||||||
home.enableNixpkgsReleaseCheck = true;
|
home.enableNixpkgsReleaseCheck = true;
|
||||||
|
|
||||||
|
home.shellAliases = {
|
||||||
|
j = "just";
|
||||||
|
g = "git";
|
||||||
|
l = "bat";
|
||||||
|
m = "micro";
|
||||||
|
du = "dua interactive";
|
||||||
|
};
|
||||||
|
|
||||||
|
home.sessionVariables = { EDITOR = "micro"; };
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nix.package = pkgs.nixUnstable;
|
nix.package = pkgs.nixUnstable;
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
@ -26,7 +25,6 @@
|
|||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
programs.htop = {
|
programs.htop = {
|
||||||
@ -64,13 +62,6 @@
|
|||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
shellAliases = {
|
|
||||||
j = "just";
|
|
||||||
g = "git";
|
|
||||||
l = "bat";
|
|
||||||
m = "micro";
|
|
||||||
};
|
|
||||||
|
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
name = "foreign-env";
|
name = "foreign-env";
|
||||||
@ -101,7 +92,6 @@
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
set EDITOR micro
|
|
||||||
fzf_configure_bindings --git_status=\cs --history=\cr --variables=\cv --directory=\cf --git_log=\cg
|
fzf_configure_bindings --git_status=\cs --history=\cr --variables=\cv --directory=\cf --git_log=\cg
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -138,16 +128,17 @@
|
|||||||
programs.micro = {
|
programs.micro = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
colorscheme = "gotham";
|
|
||||||
tabsize = 2;
|
|
||||||
tabstospaces = true;
|
|
||||||
autoindent = true;
|
autoindent = true;
|
||||||
colorcolumn = 100;
|
colorcolumn = 100;
|
||||||
|
colorscheme = "gotham";
|
||||||
diffgutter = true;
|
diffgutter = true;
|
||||||
hlsearch = true;
|
hlsearch = true;
|
||||||
mkparents = true;
|
mkparents = true;
|
||||||
savecursor = true;
|
savecursor = true;
|
||||||
softwrap = true;
|
softwrap = true;
|
||||||
|
tabsize = 2;
|
||||||
|
tabstospaces = true;
|
||||||
|
# plugins
|
||||||
manipulator = true;
|
manipulator = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user