Skip to content

Instantly share code, notes, and snippets.

View robertodr's full-sized avatar
🤡
Clowning around

Roberto Di Remigio Eikås robertodr

🤡
Clowning around
View GitHub Profile
@robertodr
robertodr / configuration.nix
Last active January 4, 2024 15:04
kellanved
{
config,
lib,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/aef9a509db64a081186af2dc185654d78dc8e344.tar.gz"}/module.nix"
./disko-config.nix
@robertodr
robertodr / .envrc
Last active December 24, 2023 11:40
mrchem nix shell
nix_direnv_watch_file nix/sources.json
use nix
@robertodr
robertodr / shell.nix
Created December 24, 2023 11:39
mrcpp nix shell
let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs {
overlays = [
];
};
in
pkgs.mkShell.override { stdenv = pkgs.llvmPackages_13.stdenv; } {
name = "MRCPP";
nativeBuildInputs = with pkgs; [
@robertodr
robertodr / flake.nix
Last active December 14, 2023 12:36
Sample Nix flake using mach-nix
{
description = "veloxchem-hpc";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
pypi-deps-db = {
url = "github:DavHau/pypi-deps-db/a8ea7f774b76d3b61237c0bc20c97629a2248462";
flake = false;
};
mach-nix = {
@robertodr
robertodr / configuration.nix
Last active December 13, 2023 20:47
carpal-tunnel
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{
config,
lib,
pkgs,
...
}: {
imports = [
@robertodr
robertodr / configuration.nix
Created December 12, 2023 22:27
btrfs-x1carbon
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{
config,
pkgs,
...
}: {
imports = [
# Include the results of the hardware scan.
[tool.poetry]
name = "floof"
version = "0.3.0"
description = ""
authors = ["me"]
[tool.poetry.dependencies]
python = ">=3.10,<3.12"
scalene = "^1.5.20"
@robertodr
robertodr / 00_pyproject.toml
Created February 22, 2023 17:22
Poetry cotengra install issue
[tool.poetry]
name = "floof"
version = "0.1.0"
description = ""
authors = ["Roberto <roberto@me.me>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
cotengra = { git = "https://github.com/jcmgray/cotengra", rev = "1a746c6483f6fdabfcf83abd5a436d0ac42921eb" }