This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ 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; }]; | |
# }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
pkgs.mkShell { | |
buildInputs = [ | |
pkgs.hello | |
]; | |
shellHook = '' | |
echo env1 | |
''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pkgs = import <nixpkgs> { }; | |
inherit (pkgs) stdenv; | |
in | |
stdenv.mkDerivation { | |
pname = "dell-u3223qe"; | |
version = "m3t102"; | |
src = ./Dell_U3223QE_FWUpdate_M3T102_Ubuntu.deb; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
let | |
xinitRc = pkgs.writeScript "zoom-xinitrc" '' | |
#!${pkgs.runtimeShell} | |
${pkgs.zoom-us}/bin/zoom-us & | |
exec ${pkgs.icewm}/bin/icewm | |
''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# env NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix --no-out-link --show-trace | |
{ config, lib, pkgs, ... }: | |
{ | |
imports = [ | |
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-graphical-plasma5.nix> | |
]; | |
boot.kernelPackages = pkgs.linuxPackages_latest; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv | |
, fetchFromGitHub | |
, fetchpatch | |
, pkg-config | |
, cairo | |
, xorg | |
, clang | |
, lib | |
}: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
'''Download all iCloud albums in parallel | |
Should work on python 2.7/3.x with the following installed: | |
https://pypi.python.org/pypi/pyicloud/ | |
https://pypi.python.org/pypi/pycurl/ | |
https://pypi.python.org/pypi/futures/ (included in Python 3) | |
''' | |
from concurrent.futures import ThreadPoolExecutor | |
from getpass import getpass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pynixutil import drvparse | |
from functools import wraps | |
from typing import ( | |
Optional, | |
Callable, | |
List, | |
Set, | |
) | |
import subprocess | |
import argparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ melpaBuild | |
, fetchFromGitHub | |
, writeText | |
, pkgs | |
# Elisp dependencies | |
, ctable | |
, deferred | |
, epc | |
, s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Name | Value | Level of concern | | |
| ---------------------------- | --------- | ------------------------------ | | |
| Overall repository size | | | | |
| * Commits | | | | |
| * Count | 298 k | | | |
| * Total size | 148 MiB | | | |
| * Trees | | | | |
| * Count | 1.58 M | * | | |
| * Total size | 5.32 GiB | ** | | |
| * Total tree entries | 159 M | *** | |
NewerOlder