Skip to content

Commit

Permalink
Add wslu ppa on WSL
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Nov 19, 2024
1 parent 6cc0b7b commit 10dd49f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
11 changes: 10 additions & 1 deletion root/.chezmoiexternal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,20 @@

"usr/share/keyrings/git-core-ppa-archive-keyring.gpg":
type: file
url: "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xE363C90F8F1B6217"
url: "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xF911AB184317630C59970973E363C90F8F1B6217"
filter:
command: gpg
args: ["--dearmor"]

{{ if .is_wsl }}
"usr/share/keyrings/wslu-ppa-archive-keyring.gpg":
type: file
url: "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x254F460F2970E18123046570C1D0E7E6AB4095D6"
filter:
command: gpg
args: ["--dearmor"]
{{ end }}

{{ if .is_gnome }}
"usr/share/keyrings/vscode-archive-keyring.gpg":
type: file
Expand Down
1 change: 1 addition & 0 deletions root/.chezmoiignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ etc/ssh
.chezmoiscripts/*-reload-sshd.sh
{{ else }}
etc/wsl.conf
etc/apt/sources.list.d/wslu-ppa.list
.chezmoiscripts/*-fix-permissions.sh
.chezmoiscripts/*-restore-permissions.sh
{{ end }}
1 change: 1 addition & 0 deletions root/etc/apt/sources.list.d/wslu-ppa.list.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
deb [signed-by=/usr/share/keyrings/wslu-ppa-archive-keyring.gpg] http://ppa.launchpad.net/wslutilities/wslu/ubuntu {{ .chezmoi.osRelease.ubuntuCodename }} main

0 comments on commit 10dd49f

Please sign in to comment.