WIP: machines: Add ayu

This commit is contained in:
Simon Bruder 2021-01-17 14:00:41 +01:00
parent 617fc28668
commit 426e9dd4c7
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
3 changed files with 42 additions and 0 deletions

View file

@ -57,4 +57,8 @@ builtins.mapAttrs (hostname: configuration: kropsDeploy ({ inherit hostname; } /
{
nunotaba = { };
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";
}