forked from fabian/nix_config
general fixes and minor improvements
This commit is contained in:
parent
10514ecd65
commit
557d85391c
4 changed files with 6 additions and 12 deletions
|
@ -78,12 +78,7 @@
|
||||||
alias ls='ls --color -F'
|
alias ls='ls --color -F'
|
||||||
alias l='ls --color -FhAltr'
|
alias l='ls --color -FhAltr'
|
||||||
alias x='killall --ignore-case --user=$(whoami) --interactive'
|
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 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 nixoide="nix repl '<nixpkgs>'"
|
||||||
alias vps="ssh -A vps"
|
alias vps="ssh -A vps"
|
||||||
bindkey -e
|
bindkey -e
|
||||||
|
@ -103,8 +98,8 @@
|
||||||
local pkg
|
local pkg
|
||||||
pkg="$1"
|
pkg="$1"
|
||||||
shift
|
shift
|
||||||
echo "nix shell unstable#$pkg --impure"
|
echo "nix shell nixpkgs#$pkg --impure"
|
||||||
nix shell "unstable#$pkg" "$@" --impure
|
nix shell "nixpkgs#$pkg" "$@" --impure
|
||||||
}
|
}
|
||||||
|
|
||||||
function spawn () {
|
function spawn () {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{lib}:
|
{lib}:
|
||||||
with 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);
|
allowUnfreePredicate = pkg: import ./unfree.nix lib (getName pkg);
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,5 +72,7 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultBitSize = 4096;
|
defaultBitSize = 4096;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,8 +51,5 @@
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Select internationalisation properties.
|
time.timeZone = "America/Costa_Rica";
|
||||||
i18n.defaultLocale = "en_US.UTF-8"; #todo: move to baseline?
|
|
||||||
|
|
||||||
time.timeZone = "America/Costa_Rica"; #todo: move to baseline?
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue