From fcf9efa0fddddf7a268ab32d08d69e9eefebc7f8 Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 1 Nov 2022 19:42:08 +0900 Subject: feat(nixos/selenium): ec2 instance --- nixos/selenium/configuration.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 nixos/selenium/configuration.nix (limited to 'nixos/selenium/configuration.nix') diff --git a/nixos/selenium/configuration.nix b/nixos/selenium/configuration.nix new file mode 100644 index 0000000..e099f02 --- /dev/null +++ b/nixos/selenium/configuration.nix @@ -0,0 +1,18 @@ +{ config, pkgs, lib, ... }: + +{ + imports = [ ]; + + users.users.worker = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAic4niJKrBKyTzTbpldaEiU30vS9/jkZl3yZRnu6d9O zach@zachel.io" ]; + }; + + # This value determines the NixOS release with which your system is to be + # compatible, in order to avoid breaking some software such as database + # servers. You should change this only after NixOS release notes say you + # should. + system.stateVersion = "22.05"; # Did you read the comment? + +} -- cgit 1.4.1