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,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
|
||||||
# manage.
|
|
||||||
home.username = "synchronous";
|
home.username = "synchronous";
|
||||||
home.homeDirectory = "/home/synchronous";
|
home.homeDirectory = "/home/synchronous";
|
||||||
imports = [
|
imports = [
|
||||||
@@ -13,17 +12,14 @@
|
|||||||
./wallpapers/default.nix
|
./wallpapers/default.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# This value determines the Home Manager release that your configuration is
|
home.activation.copyScripts = lib.mkAfter ''
|
||||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
mkdir -p ~/.scripts
|
||||||
# introduces backwards incompatible changes.
|
cp -r ${./scripts}/* ~/.scripts/
|
||||||
#
|
chmod -R u+w ~/.scripts/
|
||||||
# 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.stateVersion = "24.11"; # Please read the comment before changing.
|
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 = [
|
home.packages = [
|
||||||
# # Adds the 'hello' command to your environment. It prints a friendly
|
# # Adds the 'hello' command to your environment. It prints a friendly
|
||||||
# # "Hello, world!" when run.
|
# # "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 = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
HOME = "/home/synchronous";
|
HOME = "/home/synchronous";
|
||||||
XDG_CACHE_HOME = "$HOME/.cache";
|
XDG_CACHE_HOME = "$HOME/.cache";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -113,7 +113,8 @@ alias pq="ping google.com -c 5"
|
|||||||
# alias sc="iwctl station wlan0 connect"
|
# alias sc="iwctl station wlan0 connect"
|
||||||
|
|
||||||
## directory control
|
## directory control
|
||||||
alias ..="cd .."
|
alias ..="cd ../"
|
||||||
|
alias ../="cd ../"
|
||||||
alias ...="cd ../.."
|
alias ...="cd ../.."
|
||||||
alias .4="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 dlpaper="python /home/synchronous/.scripts/papers/dlpaper.py"
|
||||||
alias backup_home="sh /home/synchronous/.scripts/backup/backup.sh"
|
alias backup_home="sh /home/synchronous/.scripts/backup/backup.sh"
|
||||||
|
|
||||||
|
# ====== NIXOS ALIASES
|
||||||
|
|
||||||
|
|
||||||
# ------------------- fzf configuration
|
# ------------------- fzf configuration
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
export FZF_DEFAULT_COMMAND='fdfind --type f'
|
export FZF_DEFAULT_COMMAND='fdfind --type f'
|
||||||
|
|||||||
Reference in New Issue
Block a user