Skip to content

Instantly share code, notes, and snippets.

View usmcamp0811's full-sized avatar

Matt usmcamp0811

View GitHub Profile
@usmcamp0811
usmcamp0811 / podman-shell.nix
Created February 3, 2024 17:31 — forked from adisbladis/podman-shell.nix
Use podman within a nix-shell
{ pkgs ? import <nixpkgs> {} }:
let
# To use this shell.nix on NixOS your user needs to be configured as such:
# users.extraUsers.adisbladis = {
# subUidRanges = [{ startUid = 100000; count = 65536; }];
# subGidRanges = [{ startGid = 100000; count = 65536; }];
# };
###############################
## Dell XPS 15 9570 (0x087C) ##
###############################
{ config, lib, pkgs, ... }:
{
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.kernelModules = [ "kvm-intel" "i915" ];
boot.kernelParams = [