WIP: machines: Add ayu #28
|
@ -57,4 +57,8 @@ builtins.mapAttrs (hostname: configuration: kropsDeploy ({ inherit hostname; } /
|
|||
{
|
||||
nunotaba = { };
|
||||
sayuri = { };
|
||||
ayu = {
|
||||
target = "root@192.168.100.56";
|
||||
secrets = false;
|
||||
};
|
||||
}
|
||||
|
|
12
machines/ayu/configuration.nix
Normal file
12
machines/ayu/configuration.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules
|
||||
];
|
||||
|
||||
sbruder = { };
|
||||
|
||||
networking.hostName = "ayu";
|
||||
}
|
26
machines/ayu/hardware-configuration.nix
Normal file
26
machines/ayu/hardware-configuration.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.loader.grub.enable = false;
|
||||
boot.loader.generic-extlinux-compatible.enable = true;
|
||||
|
||||
boot.initrd.availableKernelModules = [ "usbhid" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{
|
||||
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
}
|
Loading…
Reference in a new issue