add jules

This commit is contained in:
Bun 2025-07-17 00:37:12 -04:00
parent e39e0534c2
commit 4f6a706e16
2 changed files with 19 additions and 0 deletions

View file

@ -1,6 +1,7 @@
{ ... }: { ... }:
{ {
imports = [ imports = [
./jules
./luna ./luna
./main ./main
./root ./root

View file

@ -0,0 +1,18 @@
{ config, lib, ... }:
let
user = "jules";
in {
config = lib.mkIf (builtins.elem "extra-users" config.system.nixos.tags) {
users.users.${user} = {
isNormalUser = true;
createHome = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHwxJcAWuHkKy/Ar37aIoqg34CDcZu7/bh978nYkOgzj estradiol"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEOszCNP+6rkIS75GyFVhn9o6QpUuGdx/J4rjzROrpSl xeta"
];
uid = 1003;
};
environment.persistence."/persist".directories = [ "/home/${user}" ];
};
}