almost nuked whole sys
This commit is contained in:
parent
43368d1e3a
commit
ab917700ee
4 changed files with 24 additions and 27 deletions
|
|
@ -1,30 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
myAliases = {
|
||||
cat = "bat";
|
||||
|
||||
fullClean = ''
|
||||
nix-collect-garbage --delete-old
|
||||
|
||||
sudo nix-collect-garbage -d
|
||||
|
||||
sudo /run/current-system/bin/switch-to-configuration boot
|
||||
'';
|
||||
rebuild = "sudo nixos-rebuild switch --flake /etc/nixos/#dn-nix";
|
||||
windows = "sudo bootctl set-oneshot auto-windows";
|
||||
toWindows = "sudo bootctl set-oneshot auto-windows && reboot";
|
||||
toBIOS = "sudo bootctl set-oneshot auto-reboot-to-firmware-setup && reboot";
|
||||
};
|
||||
in {
|
||||
in {
|
||||
programs = {
|
||||
nushell = {
|
||||
enable = true;
|
||||
shellAliases = myAliases;
|
||||
};
|
||||
|
||||
zsh = {
|
||||
enable = true;
|
||||
shellAliases = myAliases;
|
||||
configFile.source = ../config/nushell/config.nu;
|
||||
envFile.source = ../config/nushell/env.nu;
|
||||
};
|
||||
|
||||
carapace.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue