From 81cb3052450928cca659001864a6418832237264 Mon Sep 17 00:00:00 2001 From: David Crompton Date: Thu, 17 Aug 2023 10:13:02 -0400 Subject: [PATCH] Add Alan --- machines/kcnhub/users.nix | 1 + machines/kcnhub/users/alan.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 machines/kcnhub/users/alan.nix diff --git a/machines/kcnhub/users.nix b/machines/kcnhub/users.nix index ee16ea2..59adfb2 100644 --- a/machines/kcnhub/users.nix +++ b/machines/kcnhub/users.nix @@ -3,5 +3,6 @@ ./users/david.nix ./users/darian.nix ./users/carol.nix + ./users/alan.nix ]; } diff --git a/machines/kcnhub/users/alan.nix b/machines/kcnhub/users/alan.nix new file mode 100644 index 0000000..90e03dc --- /dev/null +++ b/machines/kcnhub/users/alan.nix @@ -0,0 +1,17 @@ +{ pkgs, ... }: { + users.users.alan = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + homeSize = "50g"; + homeProjectId = 103; + packages = with pkgs; [ + jetbrains.pycharm-community + github-desktop + ]; + initialHashedPassword = "$y$j9T$/af/N5qkHZuEh4Av.CNqA1$0bq0cQxUAjW201n863MM3sexN29supOVNvpd6XxpWrB"; + }; + # Github desktop uses this to be deprecated package, do it anyways: + nixpkgs.config.permittedInsecurePackages = [ + "openssl-1.1.1u" + ]; +}