# SPDX-FileCopyrightText: 2025 Ethan Reece # # SPDX-License-Identifier: MIT # https://gitlab.com/hmajid2301/nixicle # TODO: Fix JetBrains Mono Nerd Font not loading { inputs, flakeConfig, module-name, pkgs, system, ... }: let users = { nixos = rec { username = "nixos"; homeDirectory = "/home/${username}"; }; root = rec { username = "root"; homeDirectory = "/root"; }; }; in { imports = [ ../base.nix ]; home-manager = { extraSpecialArgs = { inherit inputs system flakeConfig; }; users.${users.nixos.username} = with users.nixos; { imports = [ ../../home-manager/installer/minimal-x86_64.nix { home = { inherit username homeDirectory; }; } ]; }; users.${users.root.username} = with users.root; { imports = [ ../../home-manager/personal/root.nix { home = { inherit username homeDirectory; }; } ]; }; }; users.users.${users.nixos.username} = with users.nixos; { initialPassword = username; isNormalUser = true; shell = pkgs.nushell; openssh.authorizedKeys.keys = flakeConfig.profiles.personal.sshKeys; }; networking.hostName = module-name; system = { # includeBuildDependencies = true; stateVersion = "23.11"; }; }