dotfiles/systems/ceres/default.nix

18 lines
396 B
Nix
Raw Normal View History

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