admin๐ปlaptop-main ๐๏ธ /etc/nixos on main โ
> nix flake show
warning: Git tree '/etc/nixos' is dirty
git+file:///etc/nixos
โโโโapps
โ โโโโaarch64-darwin
โ โ โโโโ"vms.test.run": app: test
โ โโโโaarch64-linux
โ โ โโโโ"vms.test.run": app: test
โ โโโโarmv6l-linux
โ โ โโโโ"vms.test.run": app: test
โ โโโโarmv7l-linux
โ โ โโโโ"vms.test.run": app: test
โ โโโโi686-linux
โ โ โโโโ"vms.test.run": app: test
โ โโโโpowerpc64le-linux
โ โ โโโโ"vms.test.run": app: test
โ โโโโriscv64-linux
โ โ โโโโ"vms.test.run": app: test
โ โโโโx86_64-darwin
โ โ โโโโ"vms.test.run": app: test
โ โโโโx86_64-freebsd
โ โ โโโโ"vms.test.run": app: test
โ โโโโx86_64-linux
โ โโโโ"vms.test.run": app: test
flake_part_vm_test.nix
{ }:
{
perSystem =
{ pkgs, ... }:
{
apps = {
"vms.test.run" = {
program = "${pkgs.coreutils}/bin/ls";
type = "app";
meta = {
description = "test";
};
};
};
};
> nix run .#vms.test.run
warning: Git tree '/etc/nixos' is dirty
error: flake 'git+file:///etc/nixos' does not provide attribute 'apps.x86_64-linux.vms.test.run', 'packages.x86_64-linux.vms.test.run', 'legacyPackages.x86_64-linux.vms.test.run' or 'vms.test.run'
Did you mean one of ams, dms, lms, nms or pms?
> nix run .#apps.x86_64-linux.vms.test.run
warning: Git tree '/etc/nixos' is dirty
error: flake 'git+file:///etc/nixos' does not provide attribute 'apps.x86_64-linux.apps.x86_64-linux.vms.test.run', 'packages.x86_64-linux.apps.x86_64-linux.vms.test.run', 'legacyPackages.x86_64-linux.apps.x86_64-linux.vms.test.run' or 'apps.x86_64-linux.vms.test.run'
Did you mean one of a2ps, alps, apbs, aapt or acpi?
flake_part_vm_test.nix