add ono-sendai

This commit is contained in:
2025-12-02 14:03:47 -08:00
parent 39511552cd
commit 5617ceacab
7 changed files with 49 additions and 7 deletions

9
configs/qemu.nix Normal file
View File

@@ -0,0 +1,9 @@
{
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
};
};
spiceUSBRedirection.enable = true;
}

View File

@@ -118,13 +118,6 @@
defaultNetwork.settings.dns_enabled = true;
};
diskSize = 262144;
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
};
};
spiceUSBRedirection.enable = true;
};
services.tailscale.enable = true;

View File

@@ -32,6 +32,7 @@
in {
nixosConfigurations = lib.genAttrs [
"imladris"
"ono-sendai"
"orion"
"rift"
"sk"

View File

@@ -4,5 +4,6 @@
imports = [
./hardware-configuration.nix
../../configs/desktop.nix
../../configs/qemu.nix
];
}

View File

@@ -0,0 +1,8 @@
{ inputs, ... }:
{
imports = [
./hardware-configuration.nix
../../configs/desktop.nix
];
}

View File

@@ -0,0 +1,29 @@
# 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 + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/mapper/luks-8ee08e44-2662-420e-82b0-cc039582d15e";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-8ee08e44-2662-420e-82b0-cc039582d15e".device = "/dev/disk/by-uuid/8ee08e44-2662-420e-82b0-cc039582d15e";
swapDevices =
[ { device = "/dev/mapper/luks-566007fb-343e-4d66-8149-fbc808128930"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -3,5 +3,6 @@
imports = [
./hardware-configuration.nix
../../configs/desktop.nix
../../configs/qemu.nix
];
}