2022-01-28 14:43:37 +00:00
|
|
|
|
{ pkgs, ... }: {
|
2023-06-01 16:28:59 +00:00
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
|
|
2022-01-25 00:31:56 +00:00
|
|
|
|
users.users.fleaz = {
|
|
|
|
|
isNormalUser = true;
|
2023-06-15 08:57:50 +00:00
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
|
hashedPassword = "$6$9dARC6e2RxgPC9f1$QfXpT71cXA7YiFhv75Nnq2OrbQ8xlHMzgrJdaBaETaAVHLX5j8QUAl71dxMlqD.CtTLxe566kL5Q6da7Kqnvp/";
|
|
|
|
|
|
2022-02-03 10:09:29 +00:00
|
|
|
|
extraGroups = [
|
2022-02-23 22:42:42 +00:00
|
|
|
|
"wheel" # Enable ‘sudo’ for the user.
|
2022-02-03 10:09:29 +00:00
|
|
|
|
"networkmanager" # Access to networkmanager
|
2022-02-23 22:42:42 +00:00
|
|
|
|
"docker" # Access to the "/run/docker.sock"
|
2023-01-12 21:13:45 +00:00
|
|
|
|
"dialout" # for serial access
|
2022-02-03 10:09:29 +00:00
|
|
|
|
];
|
2023-06-15 08:57:50 +00:00
|
|
|
|
|
|
|
|
|
# Allow ssh between all my machines
|
|
|
|
|
openssh.authorizedKeys.keys = [
|
2024-11-25 19:52:33 +00:00
|
|
|
|
# Desktop NixOS
|
2023-06-15 08:57:50 +00:00
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOOQB+LpTMWkmrx/ve1gxfzCM3CAsWpYkQ5QBRH1Vqf8 fleaz@cray"
|
2024-11-25 19:52:33 +00:00
|
|
|
|
|
|
|
|
|
# Desktop WSL
|
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPgC76vTSe1t/FbsZvT785x1P/XLgiIuxr8QWxAucFoz fleaz@DESKTOP-M4KRLN1"
|
|
|
|
|
|
|
|
|
|
# Framework
|
2023-12-01 13:54:56 +00:00
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAO0UjGRIPO9zPwulEXVK8/pUIninT2H8gW2YlGlHwKH fleaz@smithers"
|
2024-11-25 19:52:33 +00:00
|
|
|
|
|
|
|
|
|
# Work Dell
|
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAQ7gJplIqFOyxJl7G86nmvmXfYegNYYpafHkbhdDPN9 felix@felix-xm2307"
|
2023-06-15 08:57:50 +00:00
|
|
|
|
];
|
2022-01-25 00:31:56 +00:00
|
|
|
|
};
|
|
|
|
|
}
|