Add linodeeu configuration and tailscale update

This commit is contained in:
Greg Hellings
2023-04-18 05:17:33 +00:00
parent 3f6184bac9
commit b23b138ccc
4 changed files with 43 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
{ ... }:
{
imports = [
./hardware-configuration.nix
];
greg.home = false;
greg.linode.enable = true;
greg.tailscale.enable = true;
networking.hostName = "linodeeu";
networking.domain = "thehellings.com";
}
+26
View File
@@ -0,0 +1,26 @@
# Do not modify this file! It was generated by "nixos-generate-config"
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "virtio_pci" "virtio_scsi" "ahci" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/sda";
fsType = "ext4";
};
swapDevices = [
{ device = "/dev/sdb"; }
];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}