feat: Rename project to 'Athenix'

This commit is contained in:
UGA Innovation Factory
2025-12-18 12:07:25 -05:00
committed by Hunter Halloran
parent d97ece898c
commit d205211c7d
39 changed files with 278 additions and 277 deletions

View File

@@ -9,7 +9,7 @@
with lib;
let
cfg = config.ugaif.sw;
cfg = config.athenix.sw;
basePackages = with pkgs; [
# Build-related packages can be added here if needed
];

View File

@@ -8,7 +8,7 @@
with lib;
let
cfg = config.ugaif.sw;
cfg = config.athenix.sw;
builderCfg = cfg.builders;
in
mkIf builderCfg.githubRunner.enable {

View File

@@ -16,7 +16,7 @@
with lib;
let
cfg = config.ugaif.sw;
cfg = config.athenix.sw;
# Normalize type to always be a list
swTypes = if isList cfg.type then cfg.type else [ cfg.type ];
@@ -31,7 +31,7 @@ in
./updater.nix
];
options.ugaif.sw = {
options.athenix.sw = {
enable = mkEnableOption "Standard Workstation Configuration";
type = mkOption {

View File

@@ -9,7 +9,7 @@
with lib;
let
cfg = config.ugaif.sw;
cfg = config.athenix.sw;
basePackages = with pkgs; [
tmux
man

View File

@@ -6,7 +6,7 @@
}:
{
ugaif.sw.python.enable = lib.mkDefault true;
athenix.sw.python.enable = lib.mkDefault true;
services.displayManager.sddm.enable = true;
services.desktopManager.plasma6.enable = true;

View File

@@ -9,7 +9,7 @@
with lib;
let
cfg = config.ugaif.sw;
cfg = config.athenix.sw;
basePackages = with pkgs; [
tmux
man

View File

@@ -15,10 +15,10 @@
with lib;
let
cfg = config.ugaif.sw.python;
cfg = config.athenix.sw.python;
in
{
options.ugaif.sw.python = {
options.athenix.sw.python = {
enable = mkEnableOption "Python development tools (pixi, uv)" // {
default = true;
};

View File

@@ -6,7 +6,7 @@
}:
let
cfg = config.ugaif.sw;
cfg = config.athenix.sw;
in
{
programs.dconf = {

View File

@@ -9,7 +9,7 @@
with lib;
let
cfg = config.ugaif.sw;
cfg = config.athenix.sw;
basePackages = with pkgs; [
libcamera
chromium

View File

@@ -155,7 +155,7 @@
--noerrdialogs \
--disable-session-crashed-bubble \
--disable-infobars \
${config.ugaif.sw.kioskUrl}
${config.athenix.sw.kioskUrl}
'';
};
};

View File

@@ -8,7 +8,7 @@
with lib;
{
options.ugaif.sw.remoteBuild = lib.mkOption {
options.athenix.sw.remoteBuild = lib.mkOption {
type = types.submodule {
options = {
hosts = mkOption {
@@ -29,7 +29,7 @@ with lib;
};
config = {
ugaif.sw.remoteBuild.enable = lib.mkDefault (config.ugaif.sw.type == "tablet-kiosk");
athenix.sw.remoteBuild.enable = lib.mkDefault (config.athenix.sw.type == "tablet-kiosk");
environment.systemPackages = [
(pkgs.writeShellScriptBin "update-system" ''
@@ -69,11 +69,12 @@ with lib;
Type = "oneshot";
ExecStart =
let
hosts = config.ugaif.sw.remoteBuild.hosts;
hosts = config.athenix.sw.remoteBuild.hosts;
builders = lib.strings.concatMapStringsSep ";" (x: x) hosts;
rebuildCmd = "${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --refresh";
source = "--flake github:UGA-Innovation-Factory/nixos-systems";
remoteBuildFlags = if config.ugaif.sw.remoteBuild.enable then ''--builders "${builders}"'' else "";
source = "--flake git+https://git.factory.uga.edu/UGA-Innovation-Factory/athenix";
remoteBuildFlags =
if config.athenix.sw.remoteBuild.enable then ''--builders "${builders}"'' else "";
in
"${rebuildCmd} ${remoteBuildFlags} --print-build-logs ${source}#${config.networking.hostName}";
User = "root";