mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 18:28:41 +02:00
feat: unit tests
This commit is contained in:
15
outputs/x86_64-linux/tests/home-manager/expected.nix
Normal file
15
outputs/x86_64-linux/tests/home-manager/expected.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
myvars,
|
||||
lib,
|
||||
}: let
|
||||
username = myvars.username;
|
||||
hosts = [
|
||||
"ai-hyprland"
|
||||
"ai-i3"
|
||||
"shoukei-hyprland"
|
||||
"shoukei-i3"
|
||||
"ruby"
|
||||
"k3s-prod-1-master-1"
|
||||
];
|
||||
in
|
||||
lib.genAttrs hosts (_: "/home/${username}")
|
||||
Reference in New Issue
Block a user