aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/marduk/hardware
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-21 20:15:15 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:31:19 +0200
commitda424f1cf5b656fa0bfab75b69038233dac1c81c (patch)
tree7f845a36599ddebfac9344ac0600a2731b28f754 /hosts/marduk/hardware
parentFix(hosts): Rename configuration.nix to default.nix (diff)
downloadnixos-config-da424f1cf5b656fa0bfab75b69038233dac1c81c.zip
Fix(hosts): Rename spawn to marduk to comply with scheme
Diffstat (limited to 'hosts/marduk/hardware')
-rw-r--r--hosts/marduk/hardware/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/hosts/marduk/hardware/default.nix b/hosts/marduk/hardware/default.nix
new file mode 100644
index 00000000..f6500ed5
--- /dev/null
+++ b/hosts/marduk/hardware/default.nix
@@ -0,0 +1,28 @@
+{
+ config,
+ lib,
+ pkgs,
+ modulesPath,
+ ...
+}: {
+ imports = [
+ (modulesPath + "/installer/scan/not-detected.nix")
+ (modulesPath + "/installer/scan/detected.nix")
+ # (modulesPath + "/installer/cd-dvd/installation-cd-base.nix")
+
+ (modulesPath + "/profiles/base.nix")
+ (modulesPath + "/profiles/minimal.nix")
+ (modulesPath + "/profiles/all-hardware.nix")
+ ];
+
+ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
+
+ system.fileSystemLayouts = {
+ enable = true;
+ mainDisk = "/dev/disk/by-uuid/<uuid>";
+ efiDisk = "/dev/disk/by-uuid/<uuid>";
+ };
+
+ boot = {
+ };
+}