Unforeseen problem: `buildkite-agent` runs its builds in a separate directory, so if I want the `nix-build` command to build the newly checked out code, I need to set <briefcase> to the CWD.
		
			
				
	
	
		
			30 lines
		
	
	
	
		
			867 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
	
		
			867 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
# 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, ... }:
 | 
						||
 | 
						||
{
 | 
						||
  imports =
 | 
						||
    [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
 | 
						||
    ];
 | 
						||
 | 
						||
  boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
 | 
						||
  boot.initrd.kernelModules = [ ];
 | 
						||
  boot.kernelModules = [ "kvm-intel" ];
 | 
						||
  boot.extraModulePackages = [ ];
 | 
						||
 | 
						||
  fileSystems."/" =
 | 
						||
    { device = "/dev/disk/by-uuid/aadf1a77-1e98-4b5f-8e74-abf8e77bda34";
 | 
						||
      fsType = "ext4";
 | 
						||
    };
 | 
						||
 | 
						||
  fileSystems."/boot" =
 | 
						||
    { device = "/dev/disk/by-uuid/1613-35B9";
 | 
						||
      fsType = "vfat";
 | 
						||
    };
 | 
						||
 | 
						||
  swapDevices = [ ];
 | 
						||
 | 
						||
  nix.maxJobs = lib.mkDefault 2;
 | 
						||
  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
 | 
						||
}
 |