From 7e4746976e8472498added1d485857663ceee2f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 1 Mar 2024 10:27:09 +0200 Subject: [PATCH] desktop: add putty and dialout --- hosts/op5p/configuration.nix | 11 +---------- hosts/vm/configuration.nix | 1 - modules/base/users/default.nix | 2 +- modules/profiles/desktop/default.nix | 1 + 4 files changed, 3 insertions(+), 12 deletions(-) diff --git a/hosts/op5p/configuration.nix b/hosts/op5p/configuration.nix index a206bb8..d13021f 100644 --- a/hosts/op5p/configuration.nix +++ b/hosts/op5p/configuration.nix @@ -1,12 +1,4 @@ -{ - #self, - #lib, - #pkgs, - myData, - #config, - #modulesPath, - ... -}: { +{myData, ...}: { imports = [ ../../shared/platform/orangepi5plus.nix ]; @@ -14,7 +6,6 @@ users.users = { motiejus = { isNormalUser = true; - extraGroups = ["wheel" "video"]; initialHashedPassword = ""; openssh.authorizedKeys.keys = [myData.people_pubkeys.motiejus]; }; diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix index 9b3ef88..d4d500a 100644 --- a/hosts/vm/configuration.nix +++ b/hosts/vm/configuration.nix @@ -74,7 +74,6 @@ users.users = { nixos = { isNormalUser = true; - extraGroups = ["wheel" "video"]; initialHashedPassword = ""; openssh.authorizedKeys.keys = [myData.people_pubkeys.motiejus]; }; diff --git a/modules/base/users/default.nix b/modules/base/users/default.nix index 41522b7..01212a3 100644 --- a/modules/base/users/default.nix +++ b/modules/base/users/default.nix @@ -41,7 +41,7 @@ in { motiejus = { isNormalUser = true; - extraGroups = ["wheel"] ++ cfg.passwd.motiejus.extraGroups; + extraGroups = ["wheel" "dialout" "video"] ++ cfg.passwd.motiejus.extraGroups; uid = myData.uidgid.motiejus; openssh.authorizedKeys.keys = [ myData.people_pubkeys.motiejus diff --git a/modules/profiles/desktop/default.nix b/modules/profiles/desktop/default.nix index 2a556c8..2fe8257 100644 --- a/modules/profiles/desktop/default.nix +++ b/modules/profiles/desktop/default.nix @@ -136,6 +136,7 @@ in { qemu xclip pdftk + putty x11vnc yt-dlp ffmpeg