mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-05-02 19:53:07 +00:00
~
This commit is contained in:
parent
bbcc5dbb76
commit
721a38ce25
6 changed files with 110 additions and 7 deletions
|
@ -4,23 +4,32 @@
|
|||
inputs.raspberry-pi-nix.nixosModules.sd-image
|
||||
./hardware-configuration.nix
|
||||
../base.nix
|
||||
../../docker
|
||||
];
|
||||
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPyZFWvrboUTM/dKzz5kQHEKjNqI410VJUGiVckhjOve rae@ioides"
|
||||
];
|
||||
|
||||
services.openssh = {
|
||||
ports = [ 22 ];
|
||||
banner = "I won't hold it against you";
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
programs.git.enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
containers = {
|
||||
homepage.enable = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
openssh = {
|
||||
ports = [ 22 ];
|
||||
banner = "I won't hold it against you";
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "near";
|
||||
firewall.allowedTCPPorts = [ 22 ];
|
||||
firewall.allowedTCPPorts = [ 22 8082 ];
|
||||
};
|
||||
|
||||
time.timeZone = "America/New_York";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue