/ users / houbeb / default.nix
default.nix
 1  { config, lib, pkgs, ... }:
 2  
 3  let
 4    inherit (lib) importTOML;
 5    metadata = importTOML ../../ops/hosts.toml;
 6  in
 7  {
 8    users.users.houbeb = {
 9      createHome = true;
10      description = "Houbeb Ben Othmene";
11      extraGroups = [ "wheel" ];
12      isNormalUser = true;
13      openssh.authorizedKeys.keys = metadata.ssh.keys.houbeb;
14    };
15    home-manager.users.houbeb = {
16      home.packages = with pkgs; [ hello ];
17    };
18  }