alias for building wsl

This commit is contained in:
Tyler Starr 2024-09-29 09:38:57 -07:00
parent 65ad0a6470
commit f9452398e8
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@
alias nu="cd ~/.local/share/chezmoi/provision && \ alias nu="cd ~/.local/share/chezmoi/provision && \
sudo nixos-rebuild switch --impure --flake .#$(hostname) && \ sudo nixos-rebuild switch --impure --flake .#$(hostname) && \
cd -" cd -"
alias nb="cd ~/.local/share/chezmoi/provision && \
sudo nix run .#nixosConfigurations.wsl.config.system.build.tarballBuilder && \
cd -"
# sesh # sesh
function s() { function s() {

View File

@ -1,7 +1,7 @@
{ lib, system, user, inputs, agenix, home-manager, nixos-wsl, ... }: { lib, system, user, inputs, agenix, home-manager, nixos-wsl, ... }:
{ {
inherit system; inherit system;
specialArgs = { inherit user inputs nixos-wsl home-manger; }; specialArgs = { inherit user inputs nixos-wsl home-manager; };
modules = [ modules = [
../default # shared by all configs ../default # shared by all configs
./configuration.nix # wsl specific ./configuration.nix # wsl specific