133 current 2024-12-31 05:49:48 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
home.username = "synchronous";
|
||||
home.homeDirectory = "/home/synchronous";
|
||||
imports = [
|
||||
@@ -13,17 +12,14 @@
|
||||
./wallpapers/default.nix
|
||||
];
|
||||
|
||||
# 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 should not change this value, even if you update Home Manager. If you do
|
||||
# want to update the value, then make sure to first check the Home Manager
|
||||
# release notes.
|
||||
home.activation.copyScripts = lib.mkAfter ''
|
||||
mkdir -p ~/.scripts
|
||||
cp -r ${./scripts}/* ~/.scripts/
|
||||
chmod -R u+w ~/.scripts/
|
||||
'';
|
||||
|
||||
home.stateVersion = "24.11"; # Please read the comment before changing.
|
||||
|
||||
# The home.packages option allows you to install Nix packages into your
|
||||
# environment.
|
||||
home.packages = [
|
||||
# # Adds the 'hello' command to your environment. It prints a friendly
|
||||
# # "Hello, world!" when run.
|
||||
@@ -58,28 +54,11 @@
|
||||
# '';
|
||||
};
|
||||
|
||||
# Home Manager can also manage your environment variables through
|
||||
# 'home.sessionVariables'. These will be explicitly sourced when using a
|
||||
# shell provided by Home Manager. If you don't want to manage your shell
|
||||
# through Home Manager then you have to manually source 'hm-session-vars.sh'
|
||||
# located at either
|
||||
#
|
||||
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
||||
#
|
||||
# or
|
||||
#
|
||||
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
|
||||
#
|
||||
# or
|
||||
#
|
||||
# /etc/profiles/per-user/root/etc/profile.d/hm-session-vars.sh
|
||||
#
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
HOME = "/home/synchronous";
|
||||
XDG_CACHE_HOME = "$HOME/.cache";
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
|
||||
@@ -113,7 +113,8 @@ alias pq="ping google.com -c 5"
|
||||
# alias sc="iwctl station wlan0 connect"
|
||||
|
||||
## directory control
|
||||
alias ..="cd .."
|
||||
alias ..="cd ../"
|
||||
alias ../="cd ../"
|
||||
alias ...="cd ../.."
|
||||
alias .4="cd ../../.."
|
||||
|
||||
@@ -182,6 +183,9 @@ alias termbin="sh /home/synchronous/.scripts/termbin/tb.sh"
|
||||
alias dlpaper="python /home/synchronous/.scripts/papers/dlpaper.py"
|
||||
alias backup_home="sh /home/synchronous/.scripts/backup/backup.sh"
|
||||
|
||||
# ====== NIXOS ALIASES
|
||||
|
||||
|
||||
# ------------------- fzf configuration
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
export FZF_DEFAULT_COMMAND='fdfind --type f'
|
||||
|
||||
Reference in New Issue
Block a user