From fe6fb4ed5e3178dbb996369ce6bc4177d9affeea Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Wed, 14 Jun 2023 12:24:53 +0200 Subject: [PATCH] small stuff --- README.md | 1 + users/pbsds/home/profiles/git.nix | 1 + users/pbsds/home/profiles/shell.nix | 2 ++ 3 files changed, 4 insertions(+) diff --git a/README.md b/README.md index dc24def..c30d6ed 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ * [x] Make a flake * [x] merge hosted docs into a single subdomain * [x] Setup some remote-development and deploy flow +* [ ] host older versions of nixpkgs documentation (like 20.09) * [ ] add a hidpi profile? https://wiki.archlinux.org/title/HiDPI * [ ] rocm * [ ] xclip diff --git a/users/pbsds/home/profiles/git.nix b/users/pbsds/home/profiles/git.nix index 7863556..ba350a1 100644 --- a/users/pbsds/home/profiles/git.nix +++ b/users/pbsds/home/profiles/git.nix @@ -24,6 +24,7 @@ "__pycache__" "*.pyc" ]; + programs.git.iniContent.init.defaultBranch = "main"; home.shellAliases = { # git gud diff --git a/users/pbsds/home/profiles/shell.nix b/users/pbsds/home/profiles/shell.nix index 7c6b94b..6ce1974 100644 --- a/users/pbsds/home/profiles/shell.nix +++ b/users/pbsds/home/profiles/shell.nix @@ -37,6 +37,8 @@ home.shellAliases.dush = "du -shc * | sort -h"; home.shellAliases.dushd = "du -shc * .[!.]?* | sort -h"; + home.shellAliases.open = "xdg-open"; + home.shellAliases.diff = "diff -u --color"; # eyo home.shellAliases.ip = "ip -br -color"; home.shellAliases.rssh = "ssh -l root";