From 240f43c92022b0df9c018c78199c2038e08ecba6 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Sat, 25 Nov 2023 09:20:28 +0100 Subject: [PATCH] sj-vps-htz0: add home config for steveej --- nix/os/devices/sj-vps-htz0/configuration.nix | 3 ++- nix/os/devices/sj-vps-htz0/system.nix | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/nix/os/devices/sj-vps-htz0/configuration.nix b/nix/os/devices/sj-vps-htz0/configuration.nix index dbbf113..b734123 100644 --- a/nix/os/devices/sj-vps-htz0/configuration.nix +++ b/nix/os/devices/sj-vps-htz0/configuration.nix @@ -1,6 +1,7 @@ { nodeName, config, + pkgs, ... }: { disabledModules = []; @@ -9,7 +10,7 @@ { users.commonUsers = { enable = true; - enableNonRoot = false; + enableNonRoot = true; rootPasswordFile = config.sops.secrets.passwords-root.path; }; diff --git a/nix/os/devices/sj-vps-htz0/system.nix b/nix/os/devices/sj-vps-htz0/system.nix index bf1389e..5bb2317 100644 --- a/nix/os/devices/sj-vps-htz0/system.nix +++ b/nix/os/devices/sj-vps-htz0/system.nix @@ -130,6 +130,10 @@ in { }; }; + home-manager.users.steveej = import ../../../home-manager/configuration/text-minimal.nix { + inherit pkgs; + }; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave