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