-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
om show
should display system configurations
#161
Comments
https://github.com/srid/nixos-config/blob/ab552c356dfb19fdea55ae700b4963750b498b99/flake.nix#L51-L53 {
"checks": {
"aarch64-darwin": {
"treefmt": {
"name": "treefmt-check",
"type": "derivation"
}
},
"aarch64-linux": {
"treefmt": {}
},
"x86_64-linux": {
"treefmt": {}
}
},
"darwinConfigurations": {
"type": "unknown"
},
"darwinModules": {
"type": "unknown"
},
"darwinModules_": {
"type": "unknown"
},
"devShells": {
"aarch64-darwin": {
"default": {
"name": "nix-shell",
"type": "derivation"
}
},
"aarch64-linux": {
"default": {}
},
"x86_64-linux": {
"default": {}
}
},
"formatter": {
"aarch64-darwin": {
"description": "one CLI to format the code tree",
"name": "treefmt",
"type": "derivation"
},
"aarch64-linux": {},
"x86_64-linux": {}
},
"homeModules": {
"type": "unknown"
},
"legacyPackages": {
"aarch64-darwin": {},
"aarch64-linux": {},
"x86_64-linux": {}
},
"nixos-flake": {
"type": "unknown"
},
"nixosConfigurations": {
"immediacy": {
"type": "nixos-configuration"
}
},
"nixosModules": {
"common": {
"type": "nixos-module"
},
"default": {
"type": "nixos-module"
},
"home-manager": {
"type": "nixos-module"
},
"my-home": {
"type": "nixos-module"
},
"nixosFlake": {
"type": "nixos-module"
}
},
"packages": {
"aarch64-darwin": {
"activate": {
"description": "Activate NixOS/nix-darwin/home-manager configurations",
"name": "activate",
"type": "derivation"
},
"default": {
"description": "Activate NixOS/nix-darwin/home-manager configurations",
"name": "activate",
"type": "derivation"
},
"update": {
"name": "update-main-flake-inputs",
"type": "derivation"
}
},
"aarch64-linux": {
"activate": {},
"default": {},
"update": {}
},
"x86_64-linux": {
"activate": {},
"default": {},
"update": {}
}
}
} Is it because the |
|
We could adopt https://github.com/DeterminateSystems/flake-schemas which does (or is designed to) recognize it. EDIT: I believe FlakeHub itself uses it. |
omnix/crates/nix_rs/src/flake/schema.rs Lines 15 to 17 in f63f644
|
Easiest way to use (Until it gets upstreamed) |
om show
should displaynixosConfigurations
anddarwinConfigurations
as well. Currently it doesn't:The text was updated successfully, but these errors were encountered: