Browse Source

nfs: the the jumphost

main
Dustin Frisch 1 day ago
parent
commit
b9f56c3125
No known key found for this signature in database GPG Key ID: B4C3BF012D9B26BE
  1. 7
      TODO.md
  2. 2
      client/desktop.nix
  3. 11
      machines/nfs/default.nix
  4. 3
      shared/users.nix

7
TODO.md

@ -1,8 +1,9 @@
# Tasks # Tasks
- Add readme
- Add SSH Keys
- LDAP tuning
- Default desktop
- Lock installer shells - Lock installer shells
- Allow multiple users to log-in
- Check external SSH access
- Exim recovery
- Quota per user on homedir - Quota per user on homedir

2
client/desktop.nix

@ -18,7 +18,7 @@ with lib;
desktopManager = { desktopManager = {
gnome = { gnome = {
enable = true;
enable = false; # Flashback only
debug = true; debug = true;
flashback.enableMetacity = true; flashback.enableMetacity = true;

11
machines/nfs/default.nix

@ -6,6 +6,7 @@
./cache.nix ./cache.nix
./netinstaller.nix ./netinstaller.nix
./wol.nix ./wol.nix
../../client/users.nix
]; ];
deployment = { deployment = {
@ -14,10 +15,16 @@
networking = { networking = {
interfaces."enp4s0f0" = { interfaces."enp4s0f0" = {
ipv4.addresses = [{
ipv4.addresses = [
{
address = "10.33.64.20"; address = "10.33.64.20";
prefixLength = 20; prefixLength = 20;
}];
}
{
address = "10.33.64.71";
prefixLength = 20;
}
];
}; };
interfaces."enp4s0f1" = { interfaces."enp4s0f1" = {

3
shared/users.nix

@ -4,8 +4,7 @@
users.mutableUsers = false; users.mutableUsers = false;
users.users."root" = { users.users."root" = {
#TODO: hashedPassword = "$y$j9T$5ZEv2RROIXAqdFjFEXEst0$5HA63fmwjGXw1id4n94TRgY1gTuXsQGKXmzlcWXyE07";
hashedPassword = "$y$j9T$IqOVsS6/ACfhDXzA3LqsZ1$J/16UDhw44bHWJqIoCdjms6IEwT4tk4ghq2WpThOlMA";
hashedPassword = "$y$j9T$wXcRddxlkZN3j3QtMWn0O.$RjcHwreNh.zflso8y/gaAZjk61Mm59KEoSQwMlY0zPB";
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK2nkarN0+uSuP5sGwDCb9KRu+FCjO/+da4VypGanPUZ fooker@k-2so" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK2nkarN0+uSuP5sGwDCb9KRu+FCjO/+da4VypGanPUZ fooker@k-2so"

Loading…
Cancel
Save