summaryrefslogtreecommitdiff
path: root/tw/system.scm
diff options
context:
space:
mode:
authorTimo Wilken2023-01-24 22:44:39 +0100
committerTimo Wilken2023-01-24 22:44:39 +0100
commitf74fb866de4a018a749e3a592c184010c397790a (patch)
treeb18757142029e8a42445d5ce46663404fb1f50fd /tw/system.scm
parent5c8a2a8504519d43b5b681424b3694dca0418965 (diff)
Remove guixdeploy user again
It's probably better to just SSH in as root instead, seeing as the guixdeploy user can otherwise do anything as root anyway.
Diffstat (limited to 'tw/system.scm')
-rw-r--r--tw/system.scm17
1 files changed, 0 insertions, 17 deletions
diff --git a/tw/system.scm b/tw/system.scm
index 8734885b..290b81c3 100644
--- a/tw/system.scm
+++ b/tw/system.scm
@@ -29,16 +29,6 @@
"keypad:oss"
"kpdl:kposs")))
-(define-public %sudoers-file
- (plain-file "sudoers"
- (string-append
- (plain-file-content %sudoers-specification)
- ;; Let the "guixdeploy" user do anything as root, without a
- ;; password required. "guix deploy" needs this, so that it can
- ;; reconfigure the system without logging in as root.
- ;; See: '(guix)Invoking guix deploy' info node.
- "guixdeploy ALL = NOPASSWD: ALL\n")))
-
;; This is used for the servers, and also by (tw home) to generate the
;; appropriate ~/.ssh/config.
(define-public %ssh-ports
@@ -100,13 +90,6 @@
(home-directory "/home/timo")
(supplementary-groups '("wheel" "netdev" "audio" "video"))
(shell (file-append zsh "/bin/zsh")))
- (user-account ; needs a matching sudoers entry
- (system? #t)
- (name "guixdeploy")
- (comment "Guix-deploy access")
- (group "root")
- (home-directory "/var/empty")
- (create-home-directory? #f))
%base-user-accounts))
(define %wireguard-peers