Skip to content

Commit

Permalink
mrw key, banner for farid
Browse files Browse the repository at this point in the history
  • Loading branch information
markrwilliams committed Jun 5, 2024
1 parent 2c93695 commit f2eb9a7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions machines/nixie/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@
];

services.vpn.enable = true;
services.openssh.enable = true;
services.openssh.startWhenNeeded = true;
services.openssh.banner = " __ __ __ __ __\n / /_ ___ __ __ / /_ __ ______/ /___/ /_ __/ /\n / __ \\/ _ \\/ / / / / __ \\/ / / / __ / __ / / / / / \n / / / / __/ /_/ / / /_/ / /_/ / /_/ / /_/ / /_/ /_/ \n/_/ /_/\\___/\\__, ( ) /_.___/\\__,_/\\__,_/\\__,_/\\__, (_) \n /____/|/ /____/ \n";
services.openssh.settings = {
PasswordAuthentication = false;
};

# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
Expand Down
3 changes: 3 additions & 0 deletions users/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
shell = pkgs.bash;
extraGroups = ["wheel" "networkmanager"];
description = "Mark Williams";
openssh.authorizedKeys.keyFiles = [
./mrw/keys
];
packages = with pkgs; [
brightnessctl
discord
Expand Down
1 change: 1 addition & 0 deletions users/mrw/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}:{}
1 change: 1 addition & 0 deletions users/mrw/keys
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE8yBqKHaDyzSILHcP34diXlXeLTmu1EzQ5lwuvGYvTp mrw@nixie

0 comments on commit f2eb9a7

Please sign in to comment.