wrote documentation on terminal sound effects added a sound effect for `invoke` added the function `build-drv`, which is a wrapper for nix-build that puts the output nix store path to the derivation into an environment variable instead of symlinking it in the current working directory
23 lines
605 B
Nix
23 lines
605 B
Nix
{ lib, config, ... }:
|
|
|
|
{
|
|
options = {
|
|
movOpts.envConfig.zshConfig.envVariables.enable = lib.mkEnableOption "enables my default session variables";
|
|
};
|
|
config = lib.mkIf config.movOpts.envConfig.zshConfig.envVariables.enable {
|
|
programs.zsh = {
|
|
sessionVariables = {
|
|
SOUNDS_ENABLED = "true";
|
|
EDITOR = "nvim";
|
|
SUDO_EDITOR = "nvim";
|
|
VISUAL = "nvim";
|
|
LANG = "en_US.UTF-8";
|
|
BROWSER = "firefox";
|
|
FLAKEPATH = "$HOME/.sysflake";
|
|
STEAMPATH = "$HOME/.local/share/Steam";
|
|
PATH = "$PATH:$HOME/.userpath/";
|
|
};
|
|
};
|
|
};
|
|
}
|