Some minor changes to aragorn host

- guix-daemon: lower number of build users, as I've consistently seen
  the builds not finishing quickly enough
- swap out sudo for sudo-rs (just trying out stuff for fun)
- add more packages for follie user
This commit is contained in:
Hoang Nguyen 2024-05-02 00:00:00 +07:00
parent 0f63512b71
commit 148b9f22c9
Signed by: folliehiyuki
GPG Key ID: B0567C20730E9B11
2 changed files with 9 additions and 5 deletions

View File

@ -71,8 +71,11 @@
# Ref: https://github.com/NixOS/nixpkgs/issues/263359
};
# TODO: look into sudo-rs
security.sudo.execWheelOnly = true;
# Trying out the hot new sudo "rewritten in Rust"
security.sudo-rs = {
enable = true;
execWheelOnly = true;
};
# Not as horrifying as SELinux, and way less effective
security.apparmor.enable = true;
@ -147,7 +150,7 @@
# Such a crime, using Guix on a NixOS system
services.guix = {
enable = true;
nrBuildUsers = 16; # The number of this machine's CPU cores
nrBuildUsers = 8;
};
# TODO: enable libvirt and incus services (use modular libvirt daemons)

View File

@ -10,8 +10,6 @@
buf
cargo
chafa
clang
clang-tools
cosign
coursier
croc
@ -38,6 +36,7 @@
imagemagick
kdePackages.akregator
kdePackages.konversation
kdePackages.neochat
kdePackages.tokodon
keepassxc
kubectl
@ -45,6 +44,7 @@
kubernetes-helm
ldns # provide drill binary
libarchive
libclang
linuxkit
lua54Packages.lua
mbuffer
@ -81,6 +81,7 @@
tanka
taplo
templ
testdisk-qt
tokei
tor-browser
tree-sitter