From c764a4a9f39932bab97a3cbc84184346ef34283c Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Mon, 14 Aug 2023 17:10:54 +0200 Subject: [PATCH] Add generated files for inugami --- systems/inugami/default.nix | 14 +++++++++++ systems/inugami/hardware-configuration.nix | 28 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 systems/inugami/default.nix create mode 100644 systems/inugami/hardware-configuration.nix diff --git a/systems/inugami/default.nix b/systems/inugami/default.nix new file mode 100644 index 0000000..23af065 --- /dev/null +++ b/systems/inugami/default.nix @@ -0,0 +1,14 @@ +{ ... }: + +{ + imports = [ + ./hardware-configuration.nix + ]; + + boot.loader = { + grub.enable = false; + generic-extlinux-compatible.enable = true; + }; + + networking.hostName = "inugami"; +} diff --git a/systems/inugami/hardware-configuration.nix b/systems/inugami/hardware-configuration.nix new file mode 100644 index 0000000..efbf88a --- /dev/null +++ b/systems/inugami/hardware-configuration.nix @@ -0,0 +1,28 @@ +{ modulesPath, lib, ... }: + +{ + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot = { + initrd = { + avaibleKernelModules = [ "xhci_pci"]; + kernelModules = [ ]; + }; + kernelModules = [ ]; + extraModulesPackages = [ ]; + }; + + fileSystems."/" = { + device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; + fsType = "ext4"; + }; + + swapDevices = [ ]; + + networking.useDHCP = lib.mkDefault true; + nixpkgs.hostPlatform = "aarch64-linux"; + powerManagement.cpuFreqGovenor = "ondemand"; +} +