]> Git — Sourcephile - sourcephile-nix.git/blob - users/julm.nix
mermet: gitweb: fix charset for html
[sourcephile-nix.git] / users / julm.nix
1 { inputs, pkgs, lib, ... }:
2 {
3 users.users.julm = {
4 openssh.authorizedKeys.keys = map lib.readFile [
5 julm/ssh/gnupg.pub
6 julm/ssh/oignon.pub
7 ];
8 useDefaultShell = true;
9 isNormalUser = true;
10 uid = 1000;
11 };
12 home-manager.users.julm = {
13 imports = [
14 (inputs.julm-nix + "/homes/julm.nix")
15 ];
16 };
17 systemd.services.home-manager-julm.postStart = ''
18 ${pkgs.nix}/bin/nix-env --delete-generations +1 --profile /nix/var/nix/profiles/per-user/julm/home-manager
19 '';
20 }