mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 17:45:12 -05:00
17 lines
394 B
Nix
Executable file
17 lines
394 B
Nix
Executable file
{ lib, ... }:
|
|
let
|
|
configPath = ./config;
|
|
|
|
marsImports =
|
|
let
|
|
files = builtins.attrNames (builtins.readDir configPath);
|
|
in
|
|
map (name: configPath + "/${name}") (
|
|
builtins.filter (name: builtins.match ".*\\.nix$" name != null) files
|
|
);
|
|
in
|
|
{
|
|
imports = marsImports;
|
|
nixpkgs.hostPlatform = lib.mkForce "x86_64-linux";
|
|
system.stateVersion = lib.mkForce "24.05";
|
|
}
|