Browse Source

nfs: add client host entries to nfs

main
Dustin Frisch 4 days ago
parent
commit
f86a769126
No known key found for this signature in database GPG Key ID: B4C3BF012D9B26BE
  1. 1
      TODO.md
  2. 2
      machines/nfs/default.nix
  3. 14
      machines/nfs/jumphost.nix

1
TODO.md

@ -7,7 +7,6 @@
- Quota per user on homedir
- Configure user env on client (using envfs?)
- Move ldap to subdomain
- Remove x-tools like xterm
- A fancy background image?

2
machines/nfs/default.nix

@ -6,7 +6,7 @@
./cache.nix
./netinstaller.nix
./wol.nix
../../client/users.nix
./jumphost.nix
];
deployment = {

14
machines/nfs/jumphost.nix

@ -0,0 +1,14 @@
{ lib, config, ... }:
with lib;
{
imports = [
../../client/users.nix
];
networking.extraHosts = concatMapStringsSep "\n"
({ name, value }: "${value.ip} pc${name} pc${name}.${config.networking.domain}")
(attrsToList (import ../../clients.nix));
}
Loading…
Cancel
Save