refactor: reworked all maps

This commit is contained in:
Nick 2024-11-04 02:09:15 -06:00
parent b5aa0453e4
commit a114034e0e
20 changed files with 220 additions and 207 deletions

View file

@ -1,14 +1,15 @@
{lib, ...}: let
desktopFiles = [
"boot"
"filesystem"
"graphics"
"hardware"
"networking"
"sops"
];
in {
imports = map (file: ./${file}.nix) desktopFiles;
{lib, ...}: {
imports =
map
(file: ./${file}.nix)
[
"boot"
"filesystem"
"graphics"
"hardware"
"networking"
"sops"
];
nixpkgs.hostPlatform = lib.mkForce "x86_64-linux";
system.stateVersion = lib.mkForce "24.05";
}