stuff
This commit is contained in:
1 parent
7a249c596a
commit
dbdd9034c9
5 files changed
+34
-11
No files matched your search
@@ -4,6 +4,7 @@
|
||||
config = {
|
||||
system.stateVersion = "23.11";
|
||||
boot.kernel.sysctl."net.ipv4.ip_forward" = true;
|
||||
networking.hostName = "trainer-0001";
|
||||
|
||||
networking.nameservers = [ "8.8.8.8" ];
|
||||
|
||||
@@ -27,6 +28,8 @@
|
||||
};
|
||||
};
|
||||
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
|
||||
users.extraUsers.didier = {
|
||||
createHome = true;
|
||||
isNormalUser = true;
|
||||
@@ -35,6 +38,8 @@
|
||||
group = "users";
|
||||
extraGroups = [ "wheel" ];
|
||||
useDefaultShell = true;
|
||||
hashedPassword =
|
||||
"$6$tFmX1GFwslsmHJ6A$9O7jYzbo6hV2/ed39Y.ynhqoQbsPAiqTW5HR1CvnubWBysaOljPtUHlnqaPbvEkxdjUwuqHwhhvWIvsHsSMmF1";
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILtqtELim0nDxVG0j/IJc/ZcWYfFBCay8fVIw/16ieDy didier.amyot@all-dressed-programming.com"
|
||||
];
|
||||
@@ -54,5 +59,7 @@
|
||||
|
||||
services.openssh.settings.PasswordAuthentication = false;
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user