mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
alias for building wsl
This commit is contained in:
parent
65ad0a6470
commit
f9452398e8
@ -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() {
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user