WIP: machines: Add ayu #28

Closed
simon wants to merge 1 commit from ayu into master
3 changed files with 42 additions and 0 deletions
Showing only changes of commit 426e9dd4c7 - Show all commits

View file

@ -57,4 +57,8 @@ builtins.mapAttrs (hostname: configuration: kropsDeploy ({ inherit hostname; } /
{ {
nunotaba = { }; nunotaba = { };
sayuri = { }; sayuri = { };
ayu = {
target = "root@192.168.100.56";
secrets = false;
};
} }

View file

@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules
];
sbruder = { };
networking.hostName = "ayu";
}

View 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";
}