Skip to content

Instantly share code, notes, and snippets.

View cenunix's full-sized avatar

C cenunix

  • Seattle, WA
  • 12:54 (UTC -08:00)
  • X @cenunix
View GitHub Profile
@cenunix
cenunix / x13s.nix
Last active October 16, 2023 11:08
{ config
, lib
, pkgs
, modulesPath
, ...
}:
{
imports = [ "${toString modulesPath}/installer/cd-dvd/installation-cd-graphical-gnome.nix" ];
boot = {
kernelPackages = pkgs.linuxPackages_latest;
@cenunix
cenunix / hardware-configuration.nix
Created June 2, 2023 08:04
X13s nixos hardware-configuration.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, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
@cenunix
cenunix / configuration.nix
Created June 2, 2023 07:55
X13s nixos configuration.nix
{ config, lib, pkgs, ... }:
let
linux_x13s_pkg = { buildLinux, ... } @ args:
buildLinux (args // rec {
version = "6.3.5";
modDirVersion = "6.3.5";
src = pkgs.fetchurl {
url = "https://github.com/steev/linux/archive/refs/heads/lenovo-x13s-linux-6.3.y.tar.gz";