nixfiles/nixos/boxes/home/oxbow.nix
Jack O'Sullivan 233ebe0a00
Some checks failed
CI / Check, build and cache Nix flake (push) Failing after 2m20s
Initial oxbow setup
2023-11-18 23:29:04 +00:00

57 lines
1.1 KiB
Nix

{
imports = [
(import ./routing-common {
index = 1;
name = "oxbow";
})
];
config.nixos.systems.oxbow = {
system = "x86_64-linux";
nixpkgs = "mine";
home-manager = "mine";
configuration = { lib, pkgs, config, ... }:
let
inherit (lib);
in
{
config = {
boot = {
kernelParams = [ "intel_iommu=on" ];
};
hardware = {
enableRedistributableFirmware = true;
cpu = {
intel.updateMicrocode = true;
};
};
fileSystems = {
"/boot" = {
device = "/dev/disk/by-label/ESP";
fsType = "vfat";
};
"/nix" = {
device = "/dev/disk/by-label/nix";
fsType = "ext4";
};
"/persist" = {
device = "/dev/disk/by-label/persist";
fsType = "ext4";
neededForBoot = true;
};
};
my = {
secrets = {
# key = "ssh-ed25519 ";
};
server.enable = true;
};
};
};
};
}