From 37e464755f1aacfab75bcf96710ac3a1b5a51ca7 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 7 Mar 2020 21:09:35 +0800 Subject: [PATCH] nixops: update desktop accounts --- nixops/desktop.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nixops/desktop.nix b/nixops/desktop.nix index 653d8e7..1d56b45 100644 --- a/nixops/desktop.nix +++ b/nixops/desktop.nix @@ -67,8 +67,6 @@ # Enable the KDE Desktop Environment. services.xserver.displayManager.sddm.enable = true; - services.xserver.displayManager.sddm.autoLogin.enable = true; - services.xserver.displayManager.sddm.autoLogin.user = "harry"; services.xserver.desktopManager.plasma5.enable = true; hardware.bluetooth.enable = true; @@ -84,6 +82,11 @@ isNormalUser = true; extraGroups = ["plugdev" "dialout" "wireshark"]; }; + users.extraUsers.sjm = { + isNormalUser = true; + extraGroups = ["plugdev" "dialout"]; + openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPqBya2nrq39Jl/eguA4LcfvT5ishB1gBE7ofkUbd/+Q sjm@fractalide.com"]; + }; security.sudo.wheelNeedsPassword = false; services.udev.packages = [ pkgs.openocd pkgs.hackrf ]; services.udev.extraRules = ''