From f46138ea1521e2ee427fdc5da800b5ccc8330689 Mon Sep 17 00:00:00 2001 From: agryphus Date: Wed, 6 Dec 2023 19:57:47 -0500 Subject: [PATCH] Added more color into my life --- .config/nixos/personal.nix | 38 ++++++++++++++++++++++++++++++-------- .config/zsh/.zshrc | 12 ++++++++++-- 2 files changed, 40 insertions(+), 10 deletions(-) diff --git a/.config/nixos/personal.nix b/.config/nixos/personal.nix index 45c8951..18edf32 100644 --- a/.config/nixos/personal.nix +++ b/.config/nixos/personal.nix @@ -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 = ""; }; } diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index e57b89a..22e506f 100755 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -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 ##