poking at dev
This commit is contained in:
parent
d842d2a230
commit
715835d743
8 changed files with 239 additions and 8 deletions
|
|
@ -18,9 +18,22 @@
|
|||
grep = "rg";
|
||||
cat = "bat";
|
||||
tsla-fan = "ipmitool -H 10.30.0.3 -U ADMIN -P ADMIN raw 0x30 0x70 0x66 0x01 0x0";
|
||||
nixos-switch = "sudo nixos-rebuild switch --flake .#${hostName}";
|
||||
nixos-test = "sudo nixos-rebuild build-vm --flake .#${hostName}";
|
||||
|
||||
# NixOS commands
|
||||
nixoss = "sudo nixos-rebuild switch --flake .#${hostName}";
|
||||
nixos-main = "git checkout main && git pull && sudo nixos-rebuild switch --flake .#${hostName}";
|
||||
nixossr = "sudo nixos-rebuild switch --flake .#${hostName} && reboot";
|
||||
nixost = "sudo nixos-rebuild build-vm --flake .#${hostName}";
|
||||
|
||||
# Development commands
|
||||
devt = "devenv test";
|
||||
devs = "devenv shell";
|
||||
devu = "devenv up";
|
||||
devi = "nix flake init -t path:/home/alisceon/Templates/devenv#python";
|
||||
|
||||
pypod = "podman run --rm -it --network host -v '.:/run' -w '/run' python /run/";
|
||||
|
||||
# Tower commands
|
||||
weboot = "nix shell nixpkgs#efibootmgr -c sudo efibootmgr -n 0000 && reboot";
|
||||
};
|
||||
}; # end fish
|
||||
|
|
@ -30,6 +43,7 @@
|
|||
userEmail = "alisceon@protonmail.com";
|
||||
extraConfig = {
|
||||
push = { autoSetupRemote = true; };
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
}; # end git
|
||||
vscode.enable = true;
|
||||
|
|
@ -75,6 +89,10 @@
|
|||
};
|
||||
};
|
||||
}; # end ssh
|
||||
direnv = {
|
||||
enable = true;
|
||||
silent = true;
|
||||
}; # end direnv
|
||||
}; # end programs
|
||||
|
||||
# obsidian special case
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue