From 10dd49f2a5dc5d449bdb2a900840198348bc0b39 Mon Sep 17 00:00:00 2001 From: Felipe Santos Date: Tue, 19 Nov 2024 14:46:33 -0300 Subject: [PATCH] Add wslu ppa on WSL --- root/.chezmoiexternal.yaml | 11 ++++++++++- root/.chezmoiignore | 1 + root/etc/apt/sources.list.d/wslu-ppa.list.tmpl | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 root/etc/apt/sources.list.d/wslu-ppa.list.tmpl diff --git a/root/.chezmoiexternal.yaml b/root/.chezmoiexternal.yaml index f81d21b9..df2db04d 100644 --- a/root/.chezmoiexternal.yaml +++ b/root/.chezmoiexternal.yaml @@ -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 diff --git a/root/.chezmoiignore b/root/.chezmoiignore index ef0a623d..25e257e4 100644 --- a/root/.chezmoiignore +++ b/root/.chezmoiignore @@ -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 }} diff --git a/root/etc/apt/sources.list.d/wslu-ppa.list.tmpl b/root/etc/apt/sources.list.d/wslu-ppa.list.tmpl new file mode 100644 index 00000000..65e085fd --- /dev/null +++ b/root/etc/apt/sources.list.d/wslu-ppa.list.tmpl @@ -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