Added more color into my life

This commit is contained in:
agryphus 2023-12-06 19:57:47 -05:00
parent f978cba560
commit f46138ea15
2 changed files with 40 additions and 10 deletions

View file

@ -1,22 +1,44 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
# A template for a personal configuration file
{
# Up to the user. No unfree packages will be in main configuration.nix
# nixpkgs.config.allowUnfree = true;
users.users.vince { {
nixpkgs.config.allowUnfree = true;
networking.hostName = "main";
programs.java = { enable = true; package = pkgs.javaPackages.openjfx17; };
# Define a user account. Don't forget to set a password with passwd.
users.users.vince = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ # User is implicitly in the "users" group extraGroups = [ # User implicitly in "users" group
"wheel" # Sudo priviledges "bluetooth"
"docker" # Use docker
"networkmanager" # Able to user NetworkManager "networkmanager" # Able to user NetworkManager
"video" # Permission to change backlight value
"vboxusers" # Make virtualbox vms
"wheel" # Sudo priviledges
]; ];
packages = with pkgs; [ packages = with pkgs; [
ardour # DAW
docker
gimp # Image editor
kdenlive # Video editor
mupen64plus # N64 Emulator
musescore # Music notation software
obs-studio # Screen recorder
# Java stuff
javaPackages.openjfx19
jdk17
# Unfree programs
discord
slack
spotify
zoom-us
]; ];
shell = pkgs.zsh; shell = pkgs.zsh;
# Set so when mutableUsers is set to "false", the user still has a way to login. # Set so when mutableUsers is set to "false", the user still has a way to login.
# password = "" password = "";
}; };
} }

View file

@ -68,13 +68,21 @@ alias em="emacsclient -nw -a 'emacs -nw'"
# Print out all colors # Print out all colors
alias colors='for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$"\n"}; done' alias colors='for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$"\n"}; done'
# Colors # Colorful output
alias ls='LC_COLLATE=C ls --color=auto --group-directories-first -hN -A' alias ls='LC_COLLATE=C grc ls --color=auto --group-directories-first -hN -A'
alias grep='grep --color=auto' alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto' alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto' alias egrep='egrep --color=auto'
alias diff='diff --color=auto' alias diff='diff --color=auto'
alias ip='ip --color=auto' alias ip='ip --color=auto'
alias gcc='grc gcc'
alias ifconfig='grc ifconfig'
alias make='grc make'
alias netstat='grc netstat'
alias nmap='grc nmap'
alias ping='grc ping'
alias ping='grc ping'
alias uptime='grc uptime'
## FUNCTIONS ## ## FUNCTIONS ##