general fixes and minor improvements

This commit is contained in:
Fabian Montero 2025-08-25 23:07:11 -06:00
parent 10514ecd65
commit 557d85391c
Signed by untrusted user: fabian
GPG key ID: 1FFAC35E1798174F
4 changed files with 6 additions and 12 deletions

View file

@ -78,12 +78,7 @@
alias ls='ls --color -F'
alias l='ls --color -FhAltr'
alias x='killall --ignore-case --user=$(whoami) --interactive'
alias sc='${lib.getExe pkgs.maim} -s -u | ${lib.getExe pkgs.xclip} -selection clipboard -t image/png -i'
alias tree='tree -CF'
alias lock="betterlockscreen -l"
alias nightmode="${lib.getExe pkgs.redshift} -P -O 1000"
alias lightmode="${lib.getExe pkgs.redshift} -x="
alias inbox="echo >> $HOME/gtd/inbox"
alias nixoide="nix repl '<nixpkgs>'"
alias vps="ssh -A vps"
bindkey -e
@ -103,8 +98,8 @@
local pkg
pkg="$1"
shift
echo "nix shell unstable#$pkg --impure"
nix shell "unstable#$pkg" "$@" --impure
echo "nix shell nixpkgs#$pkg --impure"
nix shell "nixpkgs#$pkg" "$@" --impure
}
function spawn () {

View file

@ -1,5 +1,5 @@
{lib}:
with lib; {
android_sdk.accept_license = true; #TODO: what the fuck is this
android_sdk.accept_license = true;
allowUnfreePredicate = pkg: import ./unfree.nix lib (getName pkg);
}

View file

@ -72,5 +72,7 @@ in {
enable = true;
defaultBitSize = 4096;
};
i18n.defaultLocale = "en_US.UTF-8";
};
}

View file

@ -51,8 +51,5 @@
kernelPackages = pkgs.linuxPackages_latest;
};
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8"; #todo: move to baseline?
time.timeZone = "America/Costa_Rica"; #todo: move to baseline?
time.timeZone = "America/Costa_Rica";
}