From 6c489b4a321e5a961c68b6002b893af4f142b3ca Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Sun, 23 Nov 2025 21:52:41 +0300 Subject: [PATCH] arch: add violet --- .config/metapac/config.toml | 1 + .config/metapac/groups/desktop-misc.toml | 1 + .config/metapac/groups/system.toml | 1 - .config/systemd/user/notmuch.timer | 2 +- Arch.org | 49 ++++++++++++++++-------- 5 files changed, 37 insertions(+), 17 deletions(-) diff --git a/.config/metapac/config.toml b/.config/metapac/config.toml index cf7c10d..414eabf 100644 --- a/.config/metapac/config.toml +++ b/.config/metapac/config.toml @@ -3,6 +3,7 @@ enabled_backends = ["arch"] hostname_groups_enabled = true [hostname_groups] +violet = ["system","office","nvidia","music","mail","latex","emacs","dev","desktop-rofi","desktop-polybar","desktop-misc","desktop","console","browsers"] weiss = ["system","office","music","mail","latex","emacs","dev","desktop-rofi","desktop-polybar","desktop-misc","desktop","console","browsers"] archlinux = ["system","office","music","mail","latex","emacs","dev","desktop-rofi","desktop-polybar","desktop-misc","desktop","console","browsers"] diff --git a/.config/metapac/groups/desktop-misc.toml b/.config/metapac/groups/desktop-misc.toml index e1215a3..a16b695 100644 --- a/.config/metapac/groups/desktop-misc.toml +++ b/.config/metapac/groups/desktop-misc.toml @@ -1,4 +1,5 @@ arch = [ +"veracrypt", "android-file-transfer", "remmina", "noto-fonts-emoji", diff --git a/.config/metapac/groups/system.toml b/.config/metapac/groups/system.toml index cf29180..1f9285f 100644 --- a/.config/metapac/groups/system.toml +++ b/.config/metapac/groups/system.toml @@ -2,7 +2,6 @@ arch = [ "xf86-video-ati", "xf86-video-amdgpu", "vulkan-radeon", -"nvidia-utils", "vulkan-intel", "intel-media-driver", "libva-intel-driver", diff --git a/.config/systemd/user/notmuch.timer b/.config/systemd/user/notmuch.timer index 84dff16..19083a8 100644 --- a/.config/systemd/user/notmuch.timer +++ b/.config/systemd/user/notmuch.timer @@ -1,5 +1,5 @@ [Unit] -Description=Run notmuch new every 5 minutes +Description=Run notmuch sync script every 5 minutes [Timer] OnBootSec=1min diff --git a/Arch.org b/Arch.org index 1a8c0f3..ddba870 100644 --- a/Arch.org +++ b/Arch.org @@ -70,6 +70,12 @@ Host * AddKeysToAgent yes #+end_src +And run: +#+begin_src bash +systemctl enable --user --now ssh-agent +#+end_src +It looks like it is necessary to run at least once. + Then, clone the dotfiles repo with =yadm=: #+begin_src bash yadm clone git@github.com:SqrtMinusOne/dotfiles.git @@ -134,6 +140,8 @@ sudo systemctl disable --now systemd-networkd #+end_src And reboot. After the reboot, =NetworkManager= should run using =wpa_supplicant= as backend for Wi-Fi. +Don't forget to sync mail and enable the sync timer. + * Metapac configuration [[https://github.com/ripytide/metapac][metapac]] is a declarative wrapper around different package managers, including [[https://wiki.archlinux.org/title/Pacman][pacman]] and [[https://github.com/Morganamilo/paru][paru]]. This means the required packages can be listed in configuration files and checked into version control. @@ -143,20 +151,21 @@ In =metapac=, packages are listed in "groups", each group being a TOML file stat Below is the table enabling different groups on different hostnames: #+NAME: metapac-groups -| Profile | archlinux | weiss | -| browsers | + | + | -| console | + | + | -| desktop | + | + | -| desktop-misc | + | + | -| desktop-polybar | + | + | -| desktop-rofi | + | + | -| dev | + | + | -| emacs | + | + | -| latex | + | + | -| mail | + | + | -| music | + | + | -| office | + | + | -| system | + | + | +| Profile | archlinux | weiss | violet | +| browsers | + | + | + | +| console | + | + | + | +| desktop | + | + | + | +| desktop-misc | + | + | + | +| desktop-polybar | + | + | + | +| desktop-rofi | + | + | + | +| dev | + | + | + | +| emacs | + | + | + | +| latex | + | + | + | +| mail | + | + | + | +| music | + | + | + | +| nvidia | | | + | +| office | + | + | + | +| system | + | + | + | And the code to format it as TOML: #+NAME: metapac-groups-format @@ -231,16 +240,26 @@ Various drivers, I'm not sure which I actually need, so... | libva-intel-driver | | intel-media-driver | | vulkan-intel | -| nvidia-utils | | vulkan-radeon | | xf86-video-amdgpu | | xf86-video-ati | +NVIDIA drivers for violet +| Category | Arch dependency | +|----------+-----------------| +| nvidia | cuda | +| nvidia | nvidia-utils | +| nvidia | nvidia | + #+NAME: packages #+begin_src emacs-lisp :tangle no :var category="" (my/format-arch-dependencies category) #+end_src +#+begin_src scheme :tangle .config/metapac/groups/nvidia.toml :noweb yes +<> +#+end_src + #+begin_src scheme :tangle .config/metapac/groups/system.toml :noweb yes <> #+end_src