aphorme: add module

This commit is contained in:
Aguirre Matteo 2026-01-14 14:05:38 -03:00 committed by Austin Horstman
parent 41cae63118
commit 9ccc5b1ef4
4 changed files with 96 additions and 0 deletions

View file

@ -0,0 +1,8 @@
[app_cfg]
paths = ["$HOME/Desktop"]
[gui_cfg]
font_size = 12
icon = true
ui_framework = "EGUI"
window_size = [300, 300]

View file

@ -0,0 +1,5 @@
{ lib, pkgs, ... }:
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
aphorme-settings = ./settings.nix;
}

View file

@ -0,0 +1,25 @@
{
programs.aphorme = {
enable = true;
settings = {
gui_cfg = {
icon = true;
ui_framework = "EGUI";
font_size = 12;
window_size = [
300
300
];
};
app_cfg = {
paths = [ "$HOME/Desktop" ];
};
};
};
nmt.script = ''
assertFileExists home-files/.config/aphorme/config.toml
assertFileContent home-files/.config/aphorme/config.toml \
${./config.toml}
'';
}