use nixos 23.05 base system

Older ones don't work on new NUCs.
This commit is contained in:
Sebastien Bourdeauducq 2023-06-06 15:42:11 +08:00
parent e0f844feb8
commit f4f75834a9
2 changed files with 5 additions and 4 deletions

View File

@ -47,7 +47,7 @@
imagemagick
firefox
chromium
(python3.withPackages(ps: with ps; [
(artiq.inputs.nixpkgs.legacyPackages.x86_64-linux.python3.withPackages(ps: with ps; [
numpy
scipy
matplotlib
@ -76,7 +76,7 @@
hardware.opengl.driSupport = true;
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;
services.openssh.settings.PasswordAuthentication = false;
sound.enable = true;
hardware.pulseaudio.enable = true;

View File

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