diff options
| author | sommerfeld <sommerfeld@sommerfeld.dev> | 2026-09-17 17:31:21 +0100 |
|---|---|---|
| committer | sommerfeld <sommerfeld@sommerfeld.dev> | 2026-09-17 17:31:21 +0100 |
| commit | e6a63393c8ec23a5462d86e377cac5ad02fb7a3a (patch) | |
| tree | de4a0b953743ef37a1b662713ae7d02b2c522e7f | |
| parent | b4a01e6314dec570b7c163e19e4aa52e10743c8d (diff) | |
| download | dotfiles-e6a63393c8ec23a5462d86e377cac5ad02fb7a3a.tar.gz dotfiles-e6a63393c8ec23a5462d86e377cac5ad02fb7a3a.tar.bz2 dotfiles-e6a63393c8ec23a5462d86e377cac5ad02fb7a3a.zip | |
Use system coreutils for corporate account lookups
| -rw-r--r-- | docs/canonical-laptop.md | 6 | ||||
| -rw-r--r-- | nix/common.nix | 1 | ||||
| -rw-r--r-- | nix/host.nix | 2 | ||||
| -rw-r--r-- | nix/vm.nix | 4 |
4 files changed, 10 insertions, 3 deletions
diff --git a/docs/canonical-laptop.md b/docs/canonical-laptop.md index 9fa62ce..7479b46 100644 --- a/docs/canonical-laptop.md +++ b/docs/canonical-laptop.md @@ -143,6 +143,12 @@ a terminal tool; this role does not install the pass Secret Service daemon. The lists are in `meta/canonical/`. Ghostty's classic confinement is explicit. +The corporate profile uses Ubuntu's coreutils for account lookup through authd. +It does not install Nix coreutils. If a Nix program cannot resolve your user or +group, compare it with the corresponding `/usr/bin` command. Do not change the +account UID or add a duplicate entry to `/etc/passwd`. The test VM uses a local +account and does not test authd lookups. + Tuicr's Rust crates are fetched from the official static archive server with Cargo.lock checksum verification. `just nix-crate-check` tests a fresh download without using its cached output. Bootstrap does not need a manual crate prefetch. diff --git a/nix/common.nix b/nix/common.nix index 143b161..fb97dfd 100644 --- a/nix/common.nix +++ b/nix/common.nix @@ -89,7 +89,6 @@ in # Prefer Rust uutils for the unprefixed replacements that pass repo-local # usage checks. Keep GNU tar on the system PATH for now; uutils-tar still # rejects common GNU tar invocations like `tar -czf`. - uutils-coreutils-noprefix uutils-diffutils uutils-findutils uutils-procps diff --git a/nix/host.nix b/nix/host.nix index b3d9d60..1ad857b 100644 --- a/nix/host.nix +++ b/nix/host.nix @@ -54,6 +54,8 @@ in home.sessionVariables.NVIM_TREESITTER_CC = "${pkgs.stdenv.cc}/bin/cc"; home.packages = with pkgs; [ + uutils-coreutils-noprefix + # ── Thunderbird helpers ─────────────────────────────────────────────────── external-editor-revived @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: # VM-only Home-Manager package profile. { @@ -11,5 +11,5 @@ PODMAN_IGNORE_CGROUPSV1_WARNING = "1"; }; - home.packages = [ ]; + home.packages = [ pkgs.uutils-coreutils-noprefix ]; } |
