Added more color into my life
This commit is contained in:
parent
f978cba560
commit
f46138ea15
2 changed files with 40 additions and 10 deletions
|
|
@ -1,22 +1,44 @@
|
|||
{ 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;
|
||||
extraGroups = [ # User is implicitly in the "users" group
|
||||
"wheel" # Sudo priviledges
|
||||
extraGroups = [ # User implicitly in "users" group
|
||||
"bluetooth"
|
||||
"docker" # Use docker
|
||||
"networkmanager" # Able to user NetworkManager
|
||||
"video" # Permission to change backlight value
|
||||
"vboxusers" # Make virtualbox vms
|
||||
"wheel" # Sudo priviledges
|
||||
];
|
||||
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;
|
||||
|
||||
# Set so when mutableUsers is set to "false", the user still has a way to login.
|
||||
# password = ""
|
||||
password = "";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -68,13 +68,21 @@ alias em="emacsclient -nw -a 'emacs -nw'"
|
|||
# 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'
|
||||
|
||||
# Colors
|
||||
alias ls='LC_COLLATE=C ls --color=auto --group-directories-first -hN -A'
|
||||
# Colorful output
|
||||
alias ls='LC_COLLATE=C grc ls --color=auto --group-directories-first -hN -A'
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
alias diff='diff --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 ##
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue