mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 17:06:33 +01:00
Add generated files for inugami
This commit is contained in:
parent
4d26327796
commit
c764a4a9f3
2 changed files with 42 additions and 0 deletions
14
systems/inugami/default.nix
Normal file
14
systems/inugami/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
boot.loader = {
|
||||
grub.enable = false;
|
||||
generic-extlinux-compatible.enable = true;
|
||||
};
|
||||
|
||||
networking.hostName = "inugami";
|
||||
}
|
28
systems/inugami/hardware-configuration.nix
Normal file
28
systems/inugami/hardware-configuration.nix
Normal file
|
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in a new issue