build please?

This commit is contained in:
2024-10-18 07:40:46 -05:00
parent 57732d6d8c
commit 20b5622296
65 changed files with 2388 additions and 1416 deletions

View File

@@ -0,0 +1,23 @@
{ config, lib, core_inputs, ... }: {
options.sysconfig.firstBoot = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.sysconfig.firstBoot {
users.users.${core_inputs.user} = {
initialPassword = "7567";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsU69CxfQk58CvItPN426h5Alnpb60SH37wet97Vb57 nathan@laptop"
];
};
home-manager.users.${core_inputs.user} = core_inputs.${core_inputs.user}.homeManagerModule;
systemd.services.sshd.wantedBy = lib.mkForce [ "mulit-user.target" ];
sysconfig.opts.openssh.enable = lib.mkForce true;
};
}