Add bucur hardware config

This commit is contained in:
randogoth 2026-02-07 16:49:25 +00:00
parent b419320bfc
commit 421822cc34

55
hosts/bucur-hardware.nix Normal file
View file

@ -0,0 +1,55 @@
# 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 = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/vda3";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/nix" =
{ device = "/dev/vda3";
fsType = "btrfs";
options = [ "subvol=@nix" ];
};
fileSystems."/home" =
{ device = "/dev/vda3";
fsType = "btrfs";
options = [ "subvol=@home" ];
};
fileSystems."/var/log" =
{ device = "/dev/vda3";
fsType = "btrfs";
options = [ "subvol=@log" ];
};
fileSystems."/persist" =
{ device = "/dev/vda3";
fsType = "btrfs";
options = [ "subvol=@persist" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/B4D5-D753";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}