From d7ca2d6e2b04a384f3c5aa218ec8a80388724f37 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Thu, 27 Oct 2022 21:14:08 +0200 Subject: [PATCH] Added README, fixed askpass --- README.md | 20 ++++++++++++++++++++ pkg/tdpeuter/PKGBUILD | 4 ++-- pkg/tdpeuter/tdpeuter-desktop.install | 2 +- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 26af506..c32e59b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,22 @@ # arch-pkgs +**This is my attempt at creating a statically configured Linux Arch installation. I wanted to combine the best of two worlds: static configuration from NixOS with the general support from Arch. It contains the confguration of my machines, therefor it serves as my 'dotfiles'.** + +--- + +## My system (tdpeuter-base) + +- **Kernel:** Linux Arch Stable +- **Storage:** LVM + +## Analogy + +The analogy is quite simple. + +Over the course of getting to know Linux and during my career as a student, I had to reinstall my OS SO so so many times, either because I bricked my previous install, or because things weren't working the way I wanted them to or even because I found the current install to be cluttered. On a particular day, I had installed Arch over ten times, which is my personal record of most-installed-computers-in-one-day so far. I also managed to speedrun the installation process to 8min30sec for the kernel with an additional 4min30sec for installing Sway (fun fact/did you know?). + +Later, this worsened even more when I had way to much fun playing around with the machine configuration. (Managing disks is prone to errors!) I hope my addaction to break my laptop will ease with this repo: a static configuration that can be installed with as little input as (reasonably) possible. + +Discovering Linux was a tedious process and I had to start over several times, hence the analogy with [Sisyphus, greek mythology](https://en.wikipedia.org/wiki/Sisyphus). + +*But also because it sounds cool and it has the sys from sytem in the name, don't tell anyone this though.* \ No newline at end of file diff --git a/pkg/tdpeuter/PKGBUILD b/pkg/tdpeuter/PKGBUILD index 97adeea..fd28fcc 100644 --- a/pkg/tdpeuter/PKGBUILD +++ b/pkg/tdpeuter/PKGBUILD @@ -58,9 +58,9 @@ package_tdpeuter-desktop() { tdpeuter-base ) - # To move dotfiles around + # Utilities depends+=( - fzf stow + fzf stow x11-ssh-askpass ) # Base of sway desktop diff --git a/pkg/tdpeuter/tdpeuter-desktop.install b/pkg/tdpeuter/tdpeuter-desktop.install index b597384..40a706d 100644 --- a/pkg/tdpeuter/tdpeuter-desktop.install +++ b/pkg/tdpeuter/tdpeuter-desktop.install @@ -32,7 +32,7 @@ install_apps() { # Jetbrains pkgs+=" intellij-idea-ultimate-edition pycharm-professional jetbrains-fleet" - su -c "yay --sudoflags "-S" --answerclean None --answerdiff None -S ${pkgs} < ~/testje" - tdpeuter + su -c "yay --sudo \"SUDO_ASKPASS=/usr/lib/ssh/x11-ssh-askpass sudo\" --sudoflags \"-A\" --answerclean None --answerdiff None -S ${pkgs}" - tdpeuter } install_fonts() {