2023-09-18 03:56:58 +01:00
|
|
|
{
|
|
|
|
self,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
2023-09-20 15:46:20 +01:00
|
|
|
encryptedUSBData = import "${self}/data/drives/encryptedUSB.nix";
|
2022-02-15 12:57:23 +00:00
|
|
|
in {
|
2023-09-13 16:21:54 +01:00
|
|
|
home.packages = with pkgs; [eza bat ripgrep vault-bin libarchive age];
|
2021-12-21 00:07:05 +00:00
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
2023-07-09 20:07:31 +01:00
|
|
|
syntaxHighlighting.enable = true;
|
2021-12-27 09:46:15 +00:00
|
|
|
enableAutosuggestions = true;
|
2021-12-26 14:07:09 +00:00
|
|
|
oh-my-zsh = {
|
2021-12-21 00:07:05 +00:00
|
|
|
enable = true;
|
|
|
|
theme = "afowler";
|
2022-12-04 13:45:43 +00:00
|
|
|
plugins = [];
|
2021-12-21 00:07:05 +00:00
|
|
|
};
|
2021-12-27 09:46:15 +00:00
|
|
|
shellAliases = {
|
2022-12-04 13:45:43 +00:00
|
|
|
nixdirfmt = "alejandra .";
|
2023-09-13 16:21:54 +01:00
|
|
|
tar = "bsdtar";
|
|
|
|
exa = "eza";
|
|
|
|
eza = "eza --time-style long-iso";
|
|
|
|
la = "eza -Ga";
|
|
|
|
ll = "eza -l";
|
|
|
|
lla = "eza -lga";
|
2022-11-29 09:27:09 +00:00
|
|
|
ip6 = "ip -6";
|
2021-12-27 09:46:15 +00:00
|
|
|
sys = "systemctl";
|
|
|
|
sysu = "systemctl --user";
|
|
|
|
logu = "journalctl --user";
|
|
|
|
log = "journalctl";
|
|
|
|
dmesg = "dmesg -HP";
|
|
|
|
hg = "history 0 | rg";
|
2023-09-18 03:56:58 +01:00
|
|
|
chaos_age = "age -i ${encryptedUSBData.chaosAgePrivateKeyPath}";
|
|
|
|
chaos_age_encrypt = "age -a -e -i ${encryptedUSBData.chaosAgePrivateKeyPath}";
|
|
|
|
chaos_pub = "cat ${encryptedUSBData.chaosAgePublicKeyPath}";
|
2021-12-27 09:46:15 +00:00
|
|
|
};
|
2022-02-13 13:57:39 +00:00
|
|
|
envExtra = ''
|
|
|
|
export VAULT_ADDR="https://vault.owo.monster"
|
2022-03-09 20:16:30 +00:00
|
|
|
'';
|
2022-03-09 20:17:02 +00:00
|
|
|
};
|
2021-12-27 09:46:15 +00:00
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
|
|
|
enableZshIntegration = true;
|
2021-12-21 00:07:05 +00:00
|
|
|
};
|
|
|
|
}
|