From 80542bfea9458c6b5123c2f8816160e3368b49ce Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sat, 15 Jul 2023 09:50:54 -0700 Subject: [PATCH] updated psp.sh and ps.sh --- for_new_sovran_pros/psp.sh | 7 +++++++ for_new_sovran_pros/sp.sh | 13 +------------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/for_new_sovran_pros/psp.sh b/for_new_sovran_pros/psp.sh index f800a73..e55ddee 100644 --- a/for_new_sovran_pros/psp.sh +++ b/for_new_sovran_pros/psp.sh @@ -52,6 +52,13 @@ cat <> /mnt/etc/nixos/configuration.nix ''; }; + users.users = { + free = { + isNormalUser = true; + description = "free"; + extraGroups = [ "networkmanager" ]; + }; + environment.systemPackages = with pkgs; [ wget git diff --git a/for_new_sovran_pros/sp.sh b/for_new_sovran_pros/sp.sh index 08ce4a5..fea258c 100644 --- a/for_new_sovran_pros/sp.sh +++ b/for_new_sovran_pros/sp.sh @@ -342,20 +342,9 @@ sudo echo "no" | matrix-synapse-register_new_matrix_user -u test -p a # echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCQa3DEhx9RUtV0WopfFuL3cjQt2fBzp5wOg/hkj0FXyZXpp+F47Td1B9mKMNvucINaMQB6T0mW6c70fyT92gZO2OqCff6aeWovtTd9ynRgtJbny/qvVSShDbJcR7nSMeVPoDRaYs18fuA50guYnfoYAkaXyXPmVQ0uK84HwIB5j8gq6GMji7vv+TTNhDP8qOceUzt1DYPo9Z2JSnkFey+Z/fmxWJGsu+MSrA0/PPENEmf6L0ZSgxnu3gHEtdyX2hrFzjE16y3G0wSQzbWJb8MJO0KRSMcyvz6AzOSW4RYdXR1c+4JiciKRdnIAYYHfg7tnZT9wC9AzHjdEbmmrlF05mtjXKnxbPgGY0tlRSYo7B5E0k2zfi30MkIJ6kIE9TMM2z/+1KstrQN4OKBTGomBTYQaRQCT6dGpRTR+b8lOvUcnCSuat1sUC2M2VGFcBbDbKD0FyXy/vOk1pgA4I7GoESWQClnl+ntRg8HrW4oVTX2KpqR2CXjlF956HJGqHW6k= free@nixos" >> /root/.ssh/authorized_keys -# - -pushd /home/free/Downloads - - wget https://git.sovransystems.com/Sovran_Systems/Sovran_SystemsOS/raw/branch/main/for_new_sovran_pros/Sovran_SystemsOS-Desktop - - sudo -u free dconf load / < Sovran_SystemsOS-Desktop - - rm -rf Sovran_SystemsOS-Desktop - -popd - # + set +x echo -e "${GREEN}These four passwords are generated for convenience to use for the Web front end setup UI accounts for Nextcloud, Wordpress, VaultWarden, and BTCPayserver (if you want to use them).${ENDCOLOR} \n"