From b6851441d4c10ae63081becaf88c83a54a02540f Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 May 2024 23:13:35 +0200 Subject: [PATCH] users --- pastila/armael.nix | 13 ------------- pastila/configuration.nix | 2 +- pastila/users.nix | 19 +++++++++++++++++++ 3 files changed, 20 insertions(+), 14 deletions(-) delete mode 100644 pastila/armael.nix create mode 100644 pastila/users.nix diff --git a/pastila/armael.nix b/pastila/armael.nix deleted file mode 100644 index dfd9797..0000000 --- a/pastila/armael.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - - users.users.armael = { - isNormalUser = true; - extraGroups = [ ]; - openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBvPrmxY7H6t4ah7d0e7/Jt9RkrPHI1MREukOSSwaqlp armael@teabox" - ]; - }; - -} \ No newline at end of file diff --git a/pastila/configuration.nix b/pastila/configuration.nix index 77665d7..d30bd16 100644 --- a/pastila/configuration.nix +++ b/pastila/configuration.nix @@ -9,7 +9,7 @@ in ../common/configuration.nix ./hardware-configuration.nix ./backups.nix - ./armael.nix + ./users.nix ./gitolite.nix ./letsencrypt.nix ]; diff --git a/pastila/users.nix b/pastila/users.nix new file mode 100644 index 0000000..81ae9d7 --- /dev/null +++ b/pastila/users.nix @@ -0,0 +1,19 @@ +{ config, lib, pkgs, ... }: + +{ + + users.users."armael" = { + isNormalUser = true; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBvPrmxY7H6t4ah7d0e7/Jt9RkrPHI1MREukOSSwaqlp armael@teabox" + ]; + }; + + users.users."brouette" = { + isNormalUser = true; + openssh.authorizedKeys.keys = [ + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDamkuh7rHjg0CIb4dCgOBQU/52bGfugOaDHuhu9gOkDFKjtsWCdlMFXBYvEsV0bst3gh0ULhXC5C3TEosvrGxw0VX2VoQOF3DXSVpgwWTTgBpQKtV+uOfv1Wl12cpKPLhS90uAFSD1h88yOZtGD7P/TBAy9PMCOLBrcXXwh8/CfqpetY2Q7navh95E+AxMarJ7p6evYjcq+shsvsWBbo9pKJMnOXUc/nMnD/je0HxSlmHPssye1v0zRHFCFpxQ9ulYwn4MRkTK0+aQxcNQFP/l1CqBIhTxTDaNsWDLAxUW7ZLxJbF6ljXT1ZLWz3XeYm/+vGe/iJFSk7j/TtTlMpM3TviViKz5OeqhsqRvTftTycEW5+kmry8hL4gV4BylOc+kgSXAo7jUiWS3o/1OLbpkImI+nzwXd3ToUQ6H4M21kC4PG+yg9xjNbRuCihiaGDuG1/9QU1oLVWkFk/RlhcbYkz/uZ1f35Es+cPkU3dand6msMplMeGpDK2jX6L6fnzk= jledent@GLaDOS" + ]; + }; + +} \ No newline at end of file