From e8cfe83ce08e883d05a6d9f04259d9d2f30492e2 Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Sat, 26 Dec 2020 13:10:38 +0100 Subject: libkookie: gaia: change spacekookie home directory --- infra/libkookie/roots/gaia.nix | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'infra/libkookie') diff --git a/infra/libkookie/roots/gaia.nix b/infra/libkookie/roots/gaia.nix index 37b18fedd0a5..e6c9472f4695 100644 --- a/infra/libkookie/roots/gaia.nix +++ b/infra/libkookie/roots/gaia.nix @@ -37,7 +37,10 @@ in # TODO: build a klib function to patch cfg here libkookie.activeUsers = with klib; [ - (patchAttrs(load ) (a: { cfg.extraGroups = a.cfg.extraGroups ++ [ "core" ]; })) + (patchAttrs(load ) (a: { + cfg.extraGroups = a.cfg.extraGroups ++ [ "core" ]; + cfg.homeDir = "/home/spacekookie"; + })) (patchAttrs(load ) ({ ... }: { cfg.extraGroups = [ "core" ]; })) ]; @@ -117,17 +120,6 @@ in users.users."spacekookie".hashedPassword = "$6$rounds=1000000$Nnlc.bdBdGIVXtL$Ndb0WoOT.xl3eV2ba4jHe0ajbrGfVSf.RoS2hdaU8hvV8.UHBAZbDtLtXLqQ59Q6eUfjui3YIY6XWUGxAZNYF."; - # users.users."spacekookie" = { - # hashedPassword = - # openssh.authorizedKeys.keys = [ - # "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBALMtai+K3wBvpSf9ntuBH1GNte7quhIA4/ZWKlvF0A" # uwu - # "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBdIsXiaE3YLuqekTg8Xq65n1GUX5IQc8/FKMrbCsCWY" # tempest - - # "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEMN1iwhQinXxg9H+wJn34EawgzdrrdfBzT0N0wy8yz9 spacekookie@alarei" - # "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICPQ7alBckvMjRL/Tp38dSkZDTR/cLHRcJPwhP5+/fdM" - # ]; - # }; - # This is pinned here because nextcloud/postgres is being unstable # at version 18. In the future you might wanna look at upgrading # again, but for now, just be happily one major version behind! -- cgit v1.2.3