1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

aliae: add module

This commit is contained in:
Aguirre Matteo 2025-09-29 16:23:00 -03:00 committed by Austin Horstman
parent 48e7d82187
commit 10bcab77af
4 changed files with 117 additions and 0 deletions

View file

@ -0,0 +1,9 @@
alias:
- name: a
value: aliae
- name: hello-world
type: function
value: echo "hello world"
env:
- name: EDITOR
value: code-insiders --wait

View file

@ -0,0 +1 @@
{ aliae-settings = ./settings.nix; }

View file

@ -0,0 +1,30 @@
{
programs.aliae = {
enable = true;
settings = {
alias = [
{
name = "a";
value = "aliae";
}
{
name = "hello-world";
value = ''echo "hello world"'';
type = "function";
}
];
env = [
{
name = "EDITOR";
value = "code-insiders --wait";
}
];
};
};
nmt.script = ''
assertFileExists home-files/.aliae.yaml
assertFileContent home-files/.aliae.yaml ${./aliae.yaml}
'';
}