Compare commits

...

3 commits

Author SHA1 Message Date
bed8cb4c5c
added a bunch of shell aliases 2024-11-16 22:04:54 -05:00
f15ab00dfb
add forgejo-runner package 2024-11-16 22:04:45 -05:00
f9bda5ff45
add myself to the docker group 2024-11-16 22:04:31 -05:00
3 changed files with 17 additions and 5 deletions

View file

@ -81,7 +81,7 @@
users.users.cswimr = { users.users.cswimr = {
isNormalUser = true; isNormalUser = true;
description = "Seaswimmer"; description = "Seaswimmer";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" "docker" ];
# packages = with pkgs; []; use home-manager instead! # packages = with pkgs; []; use home-manager instead!
}; };

View file

@ -36,6 +36,7 @@
lazydocker lazydocker
bat bat
nixfmt nixfmt
forgejo-runner # for some reason this installs forgejo-runner as act_runner
# python stuff 🐍 # python stuff 🐍
uv uv

View file

@ -30,16 +30,27 @@
theme = "agnoster"; theme = "agnoster";
}; };
shellAliases = { shellAliases = let ezaArgs = "--time-style='+%Y-%m-%d %H:%M' --icons";
in {
ff = "fastfetch"; ff = "fastfetch";
neofetch = "fastfetch"; neofetch = "fastfetch";
nf = "fastfetch"; nf = "fastfetch";
cat = "bat"; cat = "bat";
ls = "eza --icons"; l = "eza -lhg ${ezaArgs}";
l = "eza -lhg --icons"; la = "eza -lAh ${ezaArgs}";
ll = "eza -lhg ${ezaArgs}";
ls = "eza ${ezaArgs}";
lsa = "eza -lah ${ezaArgs}";
upd = "sudo nixos-generate-config --dir /etc/nixos/hosts && sudo rm /etc/nixos/hosts/configuration.nix && sudo mv /etc/nixos/hosts/hardware-configuration.nix /etc/nixos/hosts/$(hostname).nix && git -C /etc/nixos --git-dir=/etc/nixos/.git add /etc/nixos/hosts/$(hostname).nix && sudo nixos-rebuild switch"; nixrc = "$EDITOR /etc/nixos";
upd =
"sudo nixos-generate-config --dir /etc/nixos/hosts && sudo rm /etc/nixos/hosts/configuration.nix && sudo mv /etc/nixos/hosts/hardware-configuration.nix /etc/nixos/hosts/$(hostname).nix && git -C /etc/nixos --git-dir=/etc/nixos/.git add /etc/nixos/hosts/$(hostname).nix && sudo nixos-rebuild switch";
taildrop = "tailscale file";
forgejo-runner = "act_runner";
runactions = "act_runner exec --default-actions-url=https://www.coastalcommits.com --gitea-instance=https://www.coastalcommits.com";
c = "clear"; c = "clear";
# alias sudo to itself so user aliases can be sudoed # alias sudo to itself so user aliases can be sudoed