|
|
|
@ -9,11 +9,26 @@
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
users.users.alice = {
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
shell = pkgs.bash;
|
|
|
|
|
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
|
|
|
|
# My SSH keys.
|
|
|
|
|
openssh.authorizedKeys.keys = [
|
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPAZhFDzl1lbhWJ7MiTV3+Z1EY8M5b4cH/+ju4uo1d91 admin"
|
|
|
|
|
];
|
|
|
|
|
packages = with pkgs; [ emacs vim ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Use my SSH keys for logging in as root.
|
|
|
|
|
users.users.root.openssh.authorizedKeys.keys =
|
|
|
|
|
config.users.users.alice.openssh.authorizedKeys.keys;
|
|
|
|
|
|
|
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
|
|
networking.hostName = "exgod"; # Define your hostname.
|
|
|
|
|
networking.hostName = "demiurge"; # Define your hostname.
|
|
|
|
|
# Pick only one of the below networking options.
|
|
|
|
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
|
|
|
|
networking.networkmanager.enable =
|
|
|
|
|