From cb0882ed0ff1438514942336048717c6aac135f2 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Mon, 22 Jul 2024 19:31:10 -0400 Subject: [PATCH] proxmox-vm-lvm-minimal: Use a simple guix-home for root users * .guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm: Use a simple guix-home for the root user (matching my personal user) * user-config/zsh/.zshrc: Adjusted zsh compinstall path (effectively a no-op as .zshrc is managed via guix-home) --- .guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm | 3 ++- user-config/zsh/.zshrc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm b/.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm index b5f9512..b5df508 100644 --- a/.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm +++ b/.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm @@ -88,7 +88,8 @@ mail.* -/var/log/maillog (define %proxmox-vm-lvm-minimal-services (append (list (service guix-home-service-type - `(("collin" ,%home))) + `(("collin" ,%home) + ("root" ,%home))) (service openssh-service-type (openssh-configuration (password-authentication? #f) diff --git a/user-config/zsh/.zshrc b/user-config/zsh/.zshrc index a3aba15..3d360b7 100644 --- a/user-config/zsh/.zshrc +++ b/user-config/zsh/.zshrc @@ -18,7 +18,7 @@ zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-/,+]=** r:|=**' 'l:|=* r:|=*' zstyle ':completion:*' max-errors 5 zstyle ':completion:*' preserve-prefix '//[^/]##/' -zstyle :compinstall filename '/home/collin/.zshrc' +zstyle :compinstall filename "${HOME}/.config/zsh/.zshrc" autoload -Uz compinit compinit