dotfiles/systems/venus/default.nix
2025-03-29 23:08:26 -05:00

20 lines
400 B
Nix
Executable file

{
lib,
...
}:
let
configPath = ./config;
venusImports =
let
files = builtins.attrNames (builtins.readDir configPath);
in
map (name: configPath + "/${name}") (
builtins.filter (name: builtins.match ".*\\.nix$" name != null) files
);
in
{
imports = venusImports;
nixpkgs.hostPlatform = lib.mkForce "x86_64-linux";
system.stateVersion = lib.mkForce "24.05";
}