dotfiles/systems/laptop/default.nix

15 lines
384 B
Nix
Raw Normal View History

2024-11-10 01:29:37 -06:00
{lib, ...}: let
configPath = ./config;
laptopImports = let
files = builtins.attrNames (builtins.readDir configPath);
in
2024-11-04 02:09:15 -06:00
map
2024-11-10 01:29:37 -06:00
(name: configPath + "/${name}")
(builtins.filter (name: builtins.match ".*\\.nix$" name != null) files);
in {
imports = laptopImports;
2024-10-06 15:25:05 -05:00
nixpkgs.hostPlatform = lib.mkForce "x86_64-linux";
system.stateVersion = lib.mkForce "24.05";
}