Update base and artiq and fix graphics on new NUCs

Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
Egor Savkin 2024-07-17 17:02:54 +08:00
parent 154700e025
commit 7c747b510c
2 changed files with 4 additions and 3 deletions

View File

@ -10,6 +10,7 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.memtest86.enable = true; boot.loader.systemd-boot.memtest86.enable = true;
boot.kernelParams = ["intel_idle.max_cstate=1"]; boot.kernelParams = ["intel_idle.max_cstate=1"];
boot.kernelPackages = pkgs.linuxPackages_latest;
hardware.cpu.intel.updateMicrocode = true; hardware.cpu.intel.updateMicrocode = true;
networking.hostName = "artiq"; networking.hostName = "artiq";
@ -123,5 +124,5 @@
# compatible, in order to avoid breaking some software such as database # compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you # servers. You should change this only after NixOS release notes say you
# should. # should.
system.stateVersion = "22.05"; # Did you read the comment? system.stateVersion = "24.05"; # Did you read the comment?
} }

View File

@ -1,6 +1,6 @@
{ {
inputs.nixpkgs.url = github:NixOS/nixpkgs/nixos-23.05; inputs.nixpkgs.url = github:NixOS/nixpkgs/nixos-24.05;
inputs.artiq.url = git+https://github.com/m-labs/artiq.git?ref=release-7; inputs.artiq.url = git+https://github.com/m-labs/artiq.git?ref=release-8;
outputs = { self, nixpkgs, artiq }: { outputs = { self, nixpkgs, artiq }: {
nixosConfigurations.artiq = nixpkgs.lib.nixosSystem { nixosConfigurations.artiq = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";