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