14 lines
386 B
Nix
14 lines
386 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
# Sample user configuration — adapt to your needs
|
|
users.users.alice = {
|
|
isNormalUser = true;
|
|
description = "Alice (sample user)";
|
|
extraGroups = [ "wheel" ]; # Enable sudo access
|
|
openssh.authorizedKeys.keys = [
|
|
# Replace with your own SSH public key
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM7... alice@example"
|
|
];
|
|
};
|
|
} |