diff --git a/deploy.nix b/deploy.nix index 6c07e8e..322ddf1 100644 --- a/deploy.nix +++ b/deploy.nix @@ -57,4 +57,8 @@ builtins.mapAttrs (hostname: configuration: kropsDeploy ({ inherit hostname; } / { nunotaba = { }; sayuri = { }; + ayu = { + target = "root@192.168.100.56"; + secrets = false; + }; } diff --git a/machines/ayu/configuration.nix b/machines/ayu/configuration.nix new file mode 100644 index 0000000..b552316 --- /dev/null +++ b/machines/ayu/configuration.nix @@ -0,0 +1,12 @@ +{ config, pkgs, ... }: + +{ + imports = [ + ./hardware-configuration.nix + ../../modules + ]; + + sbruder = { }; + + networking.hostName = "ayu"; +} diff --git a/machines/ayu/hardware-configuration.nix b/machines/ayu/hardware-configuration.nix new file mode 100644 index 0000000..c189c90 --- /dev/null +++ b/machines/ayu/hardware-configuration.nix @@ -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"; +}