Skip to content

Instantly share code, notes, and snippets.

@myme
Last active December 21, 2019 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myme/04750ffa8423dd9243aa8fc5a8b008c9 to your computer and use it in GitHub Desktop.
Save myme/04750ffa8423dd9243aa8fc5a8b008c9 to your computer and use it in GitHub Desktop.
{ config, pkgs, ... }:
let
koi = import <koi> {};
unstable = import <unstable> {};
in {
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
# ...
# Kernel
boot.kernelPackages = unstable.linuxPackages_5_3;
# boot.kernelPackages = koi.linuxPackages_5_1;
09:31:17 ❯ sudo nixos-rebuild build
building Nix...
building the system configuration...
error: assertion failed at /nix/store/04wdix0r6n1lgd74kvd3jr4dhf7m9yhx-koi-19.03.173676.d1dff0bcd9f/koi/pkgs/os-specific/linux/prl-tools/default.nix:9:1
(use '--show-trace' to show detailed location information)
09:41:35 ❯ sudo nix-channel --list
koi https://nixos.org/channels/nixos-19.03
nixos https://nixos.org/channels/nixos-19.09
unstable https://nixos.org/channels/nixos-unstable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment