Add project to repo
This commit is contained in:
58
hosts/Equinox/default.nix
Normal file
58
hosts/Equinox/default.nix
Normal file
@@ -0,0 +1,58 @@
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
hostname = "Equinox";
|
||||
in
|
||||
{
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
||||
# System version
|
||||
system.stateVersion = "22.11";
|
||||
|
||||
|
||||
# Import hardware configuration
|
||||
imports = [
|
||||
../../modules/system.nix
|
||||
|
||||
|
||||
inputs.nixos-hardware.nixosModules.dell-xps-15-9510
|
||||
inputs.nixos-hardware.nixosModules.dell-xps-15-9510-nvidia
|
||||
inputs.disko.nixosModules.disko
|
||||
./disko.nix
|
||||
];
|
||||
|
||||
|
||||
# Set hostname and timezone
|
||||
networking.hostName = hostname;
|
||||
|
||||
|
||||
# Bootloader configuration
|
||||
boot = {
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
extraModulePackages = [ ];
|
||||
|
||||
initrd = {
|
||||
kernelModules = [ ];
|
||||
availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"thunderbolt"
|
||||
"vmd"
|
||||
"nvme"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
"rtsx_pci_sdmmc"
|
||||
];
|
||||
};
|
||||
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user