1 { inputs, pkgs, lib, config, hostName, ... }:
3 inherit (builtins) readFile;
4 inherit (config.users) users;
5 userLib = import ./lib.nix { inherit lib; };
9 openssh.authorizedKeys.keys = [
10 (readFile (inputs.secrets + "/members/ssh/julm.pub"))
11 (readFile (inputs.secrets + "/members/ssh/julm-mob.pub"))
12 (readFile (inputs.secrets + "/members/ssh/julm-losurdo.pub"))
13 (readFile (inputs.secrets + "/members/ssh/julm-oignon.pub"))
15 useDefaultShell = true;
18 #uid = userLib.mkUid "julm";
20 home-manager.users.julm = {
22 (inputs.julm-nix + "/homes/julm.nix")
25 systemd.services.home-manager-julm.postStart = ''
26 ${pkgs.nix}/bin/nix-env --delete-generations +1 --profile /nix/var/nix/profiles/per-user/julm/home-manager