Add more bash aliases

This commit is contained in:
iFargle 2023-08-23 15:09:52 +09:00
parent 8f38c6714f
commit b1ac0946b4
2 changed files with 7 additions and 2 deletions

View file

@ -94,6 +94,11 @@
nrs = "nixos-rebuild --upgrade switch"; nrs = "nixos-rebuild --upgrade switch";
nrt = "nixos-rebuild test"; nrt = "nixos-rebuild test";
nrb = "nixos-rebuild build"; nrb = "nixos-rebuild build";
# Rebuild everything
rebuild-home = "home-manager switch -b backup --flake /etc/nixos//git";
rebuild-host = "nixos-rebuild switch --flake /etc/nixos/git";
rebuild-all = "rebuild-home && rebuild-host";
}; };
}; };
}; };

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, modulesPath, desktop, username ... }: { { config, lib, pkgs, modulesPath, desktop, username ... }: {
imports = [ imports = [
../../common/services/powertop.nix # PowerTop ../../common/services/powertop.nix
../../common/modules/secureboot.nix # SecureBoot ../../common/modules/secureboot.nix
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];