Overhaul luna complete

This commit is contained in:
KoenDR06 2025-02-25 15:56:58 +01:00
parent 06f5971965
commit 6f9fdca876
110 changed files with 2408 additions and 2129 deletions

View file

@ -0,0 +1,5 @@
{inputs, ...}: {
imports = [
./horseman.nix
];
}

View file

@ -0,0 +1,38 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.users.horseman;
in {
options = {
horseman.users.horseman = {
enable = mkEnableOption "Default user";
};
};
config = {
home-manager = {
extraSpecialArgs = {inherit inputs outputs;};
users.horseman = {
home.stateVersion = "24.11";
};
};
users.users.horseman = {
initialPassword = "1234";
isNormalUser = true;
openssh.authorizedKeys.keyFiles = [
../../config/ssh/authorized_keys
];
extraGroups = [
"wheel"
"docker"
];
};
};
}