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