misc adjustments/improvements
This commit is contained in:
parent
79ce705a5e
commit
ab8d8f068d
@ -46,8 +46,13 @@ in
|
|||||||
};
|
};
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
delta.enable = true;
|
||||||
userName = "Danilo Reyes";
|
userName = "Danilo Reyes";
|
||||||
userEmail = "CaptainJawZ@protonmail.com";
|
userEmail = "CaptainJawZ@protonmail.com";
|
||||||
|
extraConfig = {
|
||||||
|
init.defaultBranch = "main";
|
||||||
|
pull.rebase = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
bash = lib.mkIf (shellType == "bash") {
|
bash = lib.mkIf (shellType == "bash") {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@ -38,5 +38,11 @@ _final: prev: {
|
|||||||
waybar = prev.waybar.overrideAttrs (old: {
|
waybar = prev.waybar.overrideAttrs (old: {
|
||||||
mesonFlags = old.mesonFlags ++ [ "-Dexperimental=true" ];
|
mesonFlags = old.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||||
});
|
});
|
||||||
inherit (pkgsU) symbola mealie flaresolver;
|
inherit (pkgsU)
|
||||||
|
symbola
|
||||||
|
mealie
|
||||||
|
flaresolver
|
||||||
|
nixd
|
||||||
|
nix-statix
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -164,7 +164,7 @@ in
|
|||||||
};
|
};
|
||||||
sunshine = {
|
sunshine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoStart = true;
|
autoStart = false;
|
||||||
capSysAdmin = true;
|
capSysAdmin = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -17,11 +17,45 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.htop-vim;
|
package = pkgs.htop-vim;
|
||||||
};
|
};
|
||||||
|
eza = {
|
||||||
|
enable = true;
|
||||||
|
git = true;
|
||||||
|
icons = "auto";
|
||||||
|
};
|
||||||
zoxide = {
|
zoxide = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = shellType == "bash";
|
enableBashIntegration = shellType == "bash";
|
||||||
enableZshIntegration = shellType == "zsh";
|
enableZshIntegration = shellType == "zsh";
|
||||||
};
|
};
|
||||||
|
bat = {
|
||||||
|
enable = true;
|
||||||
|
config.pager = "less -FR";
|
||||||
|
extraPackages = builtins.attrValues {
|
||||||
|
inherit (pkgs.bat-extras)
|
||||||
|
batman # man pages
|
||||||
|
batpipe # piping
|
||||||
|
batgrep # ripgrep
|
||||||
|
batdiff # this is getting crazy!
|
||||||
|
batwatch # probably my next best friend
|
||||||
|
prettybat # trans your sourcecode!
|
||||||
|
;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
password-store = {
|
||||||
|
enable = false;
|
||||||
|
package = pkgs.gopass;
|
||||||
|
settings = {
|
||||||
|
PASSWORD_STORE_AUTOCLIP = "true";
|
||||||
|
PASSWORD_STORE_AUTOIMPORT = "false";
|
||||||
|
PASSWORD_STORE_CLIPTIMEOUT = "45";
|
||||||
|
PASSWORD_STORE_EXPORTKEYS = "false";
|
||||||
|
PASSWORD_STORE_NOPAGER = "false";
|
||||||
|
PASSWORD_STORE_NOTIFICATIONS = "false";
|
||||||
|
PASSWORD_STORE_PARSING = "true";
|
||||||
|
PASSWORD_STORE_PATH = "/home/jawz/.local/share/pass";
|
||||||
|
PASSWORD_STORE_SAFECONTENT = "true";
|
||||||
|
};
|
||||||
|
};
|
||||||
${shellType} = {
|
${shellType} = {
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
cd = "z";
|
cd = "z";
|
||||||
@ -56,35 +90,6 @@ in
|
|||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
bat = {
|
|
||||||
enable = true;
|
|
||||||
config.pager = "less -FR";
|
|
||||||
extraPackages = builtins.attrValues {
|
|
||||||
inherit (pkgs.bat-extras)
|
|
||||||
batman # man pages
|
|
||||||
batpipe # piping
|
|
||||||
batgrep # ripgrep
|
|
||||||
batdiff # this is getting crazy!
|
|
||||||
batwatch # probably my next best friend
|
|
||||||
prettybat # trans your sourcecode!
|
|
||||||
;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
password-store = {
|
|
||||||
enable = false;
|
|
||||||
package = pkgs.gopass;
|
|
||||||
settings = {
|
|
||||||
PASSWORD_STORE_AUTOCLIP = "true";
|
|
||||||
PASSWORD_STORE_AUTOIMPORT = "false";
|
|
||||||
PASSWORD_STORE_CLIPTIMEOUT = "45";
|
|
||||||
PASSWORD_STORE_EXPORTKEYS = "false";
|
|
||||||
PASSWORD_STORE_NOPAGER = "false";
|
|
||||||
PASSWORD_STORE_NOTIFICATIONS = "false";
|
|
||||||
PASSWORD_STORE_PARSING = "true";
|
|
||||||
PASSWORD_STORE_PATH = "/home/jawz/.local/share/pass";
|
|
||||||
PASSWORD_STORE_SAFECONTENT = "true";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
@ -99,7 +104,6 @@ in
|
|||||||
inherit (pkgs)
|
inherit (pkgs)
|
||||||
ripgrep # modern grep
|
ripgrep # modern grep
|
||||||
du-dust # rusty du similar to gdu
|
du-dust # rusty du similar to gdu
|
||||||
eza # like ls but with colors
|
|
||||||
fd # modern find, faster searches
|
fd # modern find, faster searches
|
||||||
fzf # fuzzy finder! super cool and useful
|
fzf # fuzzy finder! super cool and useful
|
||||||
gdu # disk-space utility checker, somewhat useful
|
gdu # disk-space utility checker, somewhat useful
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user