Skip to content

Commit

Permalink
add arch linux module and helper scripts ⚗️ (#10)
Browse files Browse the repository at this point in the history
* add ps-arch-wsl module

* add install and post install scripts
  • Loading branch information
scottmckendry authored May 24, 2024
1 parent 9ed58b1 commit 4a9f7be
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ $chocoDeps = @(

# PS Modules
$psModules = @(
"ps-color-scripts"
"PSScriptAnalyzer"
"CompletionPredictor"
"PSScriptAnalyzer"
"ps-arch-wsl"
"ps-color-scripts"
)

# Set working directory
Expand Down
9 changes: 9 additions & 0 deletions wsl/arch-post-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

# Post install script for Arch Linux (on WSL) called by the ps-arch-wsl ps module
# More info at https://github.com/scottmckendry/ps-arch-wsl

cd ~
mkdir git -p && cd git
git clone https://github.com/scottmckendry/dots && cd dots
./setup.sh
9 changes: 9 additions & 0 deletions wsl/install.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Simple install script for Arch Linux in WSL
# More info at https://github.com/scottmckendry/ps-arch-wsl

#requires -RunAsAdministrator
#requires -Modules ps-arch-wsl

Set-Location -Path $PSScriptRoot
$Credential = Get-Credential -UserName "scott"
Install-ArchWSL -Credential $Credential -PostInstallScript "./arch-post-install.sh"

0 comments on commit 4a9f7be

Please sign in to comment.