mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
refactor: debloated imports and modules
This commit is contained in:
parent
489b64c9c7
commit
7351c5cc45
6 changed files with 237 additions and 342 deletions
|
@ -1,12 +1,14 @@
|
|||
{lib, ...}: {
|
||||
imports = [
|
||||
./boot.nix
|
||||
./filesystem.nix
|
||||
./graphics.nix
|
||||
./hardware.nix
|
||||
./networking.nix
|
||||
./sops.nix
|
||||
{lib, ...}: let
|
||||
serverFiles = [
|
||||
"boot"
|
||||
"filesystem"
|
||||
"graphics"
|
||||
"hardware"
|
||||
"networking"
|
||||
"sops"
|
||||
];
|
||||
in {
|
||||
imports = map (file: ./${file}.nix) serverFiles;
|
||||
nixpkgs.hostPlatform = lib.mkForce "x86_64-linux";
|
||||
system.stateVersion = lib.mkForce "24.05";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue