diff --git a/modules/system/default.nix b/modules/system/default.nix new file mode 100644 index 0000000..0bd88e0 --- /dev/null +++ b/modules/system/default.nix @@ -0,0 +1,11 @@ +{...}: { + imports = [ + ../../system/amd.nix + ../../system/boot.nix + ../../system/hardware.nix + ../../system/home-manager.nix + ../../system/services.nix + ../../system/user.nix + ../../system/version.nix + ]; +} diff --git a/system/amd.nix b/system/amd.nix new file mode 100644 index 0000000..0a41737 --- /dev/null +++ b/system/amd.nix @@ -0,0 +1,3 @@ +{pkgs, ...}: { + hardware.amdgpu.initrd.enable = true; +} diff --git a/system/boot.nix b/system/boot.nix new file mode 100644 index 0000000..9a7e7d6 --- /dev/null +++ b/system/boot.nix @@ -0,0 +1,12 @@ +{pkgs, ...}: { + boot = { + loader = { + systemd-boot = { + enable = true; + }; + }; + initrd = { + systemd.enable = true; + }; + }; +}