config/users/h7x4/default.nix

22 lines
1.8 KiB
Nix

{ config, pkgs, lib, ... }:
{
programs.zsh.enable = true;
nix.settings.allowed-users = [ "h7x4" ];
nix.settings.trusted-users = [ "h7x4" ];
users.users."h7x4" = {
isNormalUser = true;
uid = 1006;
description = "Øystein";
extraGroups = [ "users" ];
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [
# https://github.com/h7x4.keys
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC0aYHsiqfLCA0prSmEi6hZeQPCGxZYR7gp+3U99POUWJyycSVqXMhgVZHT8VEYGf+EZ/y5nL1bvna7ChBwQBzInB2mRW+TCLL3h1w9t/27vTHe3wV+fowTooD/paOErmWFO4yDBEJ3cYFMXowAd3GfvsBSFGPSsvSxghSzWj+kfhIFkXD02LZxn/hBQyCT6irp3Hwx1cBu8ic/l2ln64SLARuEmj4ITaafNC5wD2Gr5Jf3q+T9QtJeFPXSpJD7MtVMJ1VpgpfGBvlEYKggiQjxgu2BXHv1w3KIfyltTwhrcqHvttaJSuR5TreAgQ5+dZHmMr6XX8rFG+HEa8gND6NjGjHrJBxp53qgPtLAmBddvf8xQMYiq6+XST16nlRaAsjU3yr3VqCt7XhJiS2IV8JiIV3dok8nxzDX9sjdZeGchdnAnU6lcxDgnBvAcJRaWHwMCG8Ty9sJ4otgjr5A1GxRBndJIIuKzjpdtsrCAHg/K2zqFoKPJxN/K9zDWKNy0aEy2Akl3LgHF2QIuG5pUOmbyvbF8AoTudaz6Zu6JpVwOb9T9avFJBH4RHQ3mK0faBkrEmnkAg6JnDDMIt0XLALl88rI4kbdkVvJ2kaodvq799TCCw1PwMidgWX63LemWVBx+CL9ebXrsOkOthhMhkeaFXY9Am3Ee7rfD1tq3PGU1w=="
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCiSO9Pjvue7NaAq3uLEUsRvG0lUyu1SMNW6TBe1qzmkatb/NjBpJFJl0Zg5gWrA5RCQSdRWO9KEFb+bn8x8CX4XsuA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