From 41d12d4d0556dccd0a9f86edca5fa81e4d24ca99 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Thu, 23 Jan 2025 15:11:32 +0100 Subject: [PATCH] refactor: add random string alias to .bashrc and update flake.lock and vscode settings --- .bashrc | 3 +++ config/home-manager/flake.lock | 12 ++++++------ vscode/settings.json | 3 ++- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.bashrc b/.bashrc index 0eea4ce..0478c4c 100644 --- a/.bashrc +++ b/.bashrc @@ -43,6 +43,9 @@ alias gcb='git checkout -b' # netstat port in use check alias port='netstat -atupn | grep LISTEN' +# random string (Syntax: random ) +alias random='openssl rand -base64' + # Alias for ls to l but only if it's an interactive shell because we don't want to override ls in scripts which could blow up in our face if [ -t 1 ]; then alias ls='l' diff --git a/config/home-manager/flake.lock b/config/home-manager/flake.lock index 7b31b21..8c2bc27 100644 --- a/config/home-manager/flake.lock +++ b/config/home-manager/flake.lock @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1737299813, - "narHash": "sha256-Qw2PwmkXDK8sPQ5YQ/y/icbQ+TYgbxfjhgnkNJyT1X8=", + "lastModified": 1737569578, + "narHash": "sha256-6qY0pk2QmUtBT9Mywdvif0i/CLVgpCjMUn6g9vB+f3M=", "owner": "nixos", "repo": "nixpkgs", - "rev": "107d5ef05c0b1119749e381451389eded30fb0d5", + "rev": "47addd76727f42d351590c905d9d1905ca895b82", "type": "github" }, "original": { @@ -39,11 +39,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1737062831, - "narHash": "sha256-Tbk1MZbtV2s5aG+iM99U8FqwxU/YNArMcWAv6clcsBc=", + "lastModified": 1737469691, + "narHash": "sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk=", "owner": "nixos", "repo": "nixpkgs", - "rev": "5df43628fdf08d642be8ba5b3625a6c70731c19c", + "rev": "9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab", "type": "github" }, "original": { diff --git a/vscode/settings.json b/vscode/settings.json index 36336ad..207277a 100755 --- a/vscode/settings.json +++ b/vscode/settings.json @@ -62,5 +62,6 @@ "[dockercompose]": { "editor.defaultFormatter": "ms-azuretools.vscode-docker" }, - "go.toolsManagement.autoUpdate": true + "go.toolsManagement.autoUpdate": true, + "redhat.telemetry.enabled": false } \ No newline at end of file