This file contains hidden or 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
wpa_supplicant -B -i interface -c <(wpa_passphrase 'SSID' 'key'). | |
ping 1.1.1.1 | |
parted /dev/nvme0n1 -- mklabel gpt | |
parted /dev/nvme0n1 -- mkpart primary 512MiB -0 | |
parted /dev/nvme0n1 -- mkpart ESP fat32 1MiB 512MiB | |
parted /dev/nvme0n1 -- set 2 esp on | |
cryptsetup luksFormat /dev/nvme0n1p1 |
This file contains hidden or 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
# To get a development shell use: | |
# nix-shell | |
# To get a development shell for python37 use: | |
# nix-shell --arg getPythonVersion "(p: p.python37Packages)" | |
# To build with pinned nixpkgs use: | |
# nix-build | |
# To develop/build with your custom nixpkgs (from $NIX_PATH) use: | |
# nix-shell --arg nixpkgs "<nixpkgs>" | |
# nix-build --arg nixpkgs "<nixpkgs>" | |
{ |
This file contains hidden or 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
unpacking sources | |
unpacking source archive /nix/store/z9c906y93xzw0mq6rzqppv50jqmzjk89-source | |
source root is source | |
patching sources | |
configuring | |
fixing cmake files... | |
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/s211sqawacrfabnpsnmsk1k7sy0zbcmk-transitive-cmake/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/s211sqawacrfabnpsnmsk1k7sy0zbcmk-transitive-cmake/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/s211sqawacrfabnpsnmsk1k7sy0zbcmk-transitive-cmake/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/s211sqawacrfabnpsnmsk1k7sy0zbcmk-transitive-cmake/share/doc/ -DCMAKE_INSTALL_INFODIR=/nix/store/s211sqawacrfabnpsnmsk1k7sy0zbcmk-transitive-cmake/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/s211sqawacrfabnpsnmsk1k7sy0zbcmk-transitive-cmake/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/s211sqawacrfabnpsnmsk1k7sy0zbcmk-trans |
This file contains hidden or 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
unpacking sources | |
unpacking source archive /nix/store/3q7i3wj7xa1asvikh6w3pfjng3qbhc5b-source | |
source root is source | |
patching sources | |
configuring | |
fixing cmake files... | |
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/79dl1zmway4af64ighkp4l9wsa1q5d9a-transitive-cmake/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/79dl1zmway4af64ighkp4l9wsa1q5d9a-transitive-cmake/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/79dl1zmway4af64ighkp4l9wsa1q5d9a-transitive-cmake/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/79dl1zmway4af64ighkp4l9wsa1q5d9a-transitive-cmake/share/doc/ -DCMAKE_INSTALL_INFODIR=/nix/store/79dl1zmway4af64ighkp4l9wsa1q5d9a-transitive-cmake/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/79dl1zmway4af64ighkp4l9wsa1q5d9a-transitive-cmake/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/79dl1zmway4af64ighkp4l9wsa1q5d9a-trans |
This file contains hidden or 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
unpacking sources | |
unpacking source archive /nix/store/kiayvgnl39lbn9l9mf79k4dr54pn8ww9-source | |
source root is source | |
patching sources | |
configuring | |
fixing cmake files... | |
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/vrj4x5yijx9ngxjh14qcxi62bvi77bfm-transitive-cmake/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/vrj4x5yijx9ngxjh14qcxi62bvi77bfm-transitive-cmake/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/vrj4x5yijx9ngxjh14qcxi62bvi77bfm-transitive-cmake/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/vrj4x5yijx9ngxjh14qcxi62bvi77bfm-transitive-cmake/share/doc/ -DCMAKE_INSTALL_INFODIR=/nix/store/vrj4x5yijx9ngxjh14qcxi62bvi77bfm-transitive-cmake/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/vrj4x5yijx9ngxjh14qcxi62bvi77bfm-transitive-cmake/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/vrj4x5yijx9ngxjh14qcxi62bvi77bfm-trans |
This file contains hidden or 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
cmake_minimum_required(VERSION 3.14) | |
project(asdf LANGUAGES CXX) | |
find_package(Boost REQUIRED COMPONENTS thread) | |
add_library(low SHARED low.cpp) | |
target_link_libraries(low PRIVATE Boost::thread) |
This file contains hidden or 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> {}; | |
unixODBC-cache = pkgs.stdenv.mkDerivation { | |
name = "unixODBC-cache"; | |
src = pkgs.fetchurl { | |
url = "ftp://ftp.intersystems.com/pub/cache/odbc/2014/cache.2014.1.3.ODBC-lnxrhx64.tar.gz"; | |
sha256 = "0rgmpac45q126capd32gyhxk0pjjyg9kad5gqs9k0iyj022csxl8"; | |
}; | |
sourceRoot = "bin"; | |
installPhase = '' |
This file contains hidden or 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
cmake_minimum_required(VERSION 3.5) | |
project(test-hdf5 C Fortran) | |
find_package(HDF5 REQUIRED COMPONENTS Fortran) | |
add_library(hdf5::hdf5 INTERFACE IMPORTED) | |
set_property(TARGET hdf5::hdf5 PROPERTY | |
INTERFACE_INCLUDE_DIRECTORIES ${HDF5_Fortran_INCLUDE_DIRS}) | |
set_property(TARGET hdf5::hdf5 PROPERTY | |
INTERFACE_LINK_LIBRARIES ${HDF5_Fortran_LIBRARIES} ${HDF5_Fortran_HL_LIBRARIES}) | |
add_executable(test test.f95) | |
target_link_libraries(test hdf5::hdf5) |
This file contains hidden or 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> {}; | |
python = pkgs.python3; | |
sqlacodegen = python.pkgs.buildPythonApplication rec { | |
pname = "sqlacodegen"; | |
version = "2.1.0"; | |
src = python.pkgs.fetchPypi { | |
inherit pname version; | |
sha256 = "0z0hh7lcfhw5n0zjn1v1anmkfkidalsa4d9xakcqvkixdkimiqpa"; | |
}; |
This file contains hidden or 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
{ config, pkgs, ... }: | |
{ | |
users.users."sepp" = { | |
isNormalUser = true; | |
initialPassword = ""; | |
extraGroups = [ "wheel" "networkmanager" "input" ]; | |
}; | |
networking.hostName = "flakephone"; | |
networking.wireless = { |
NewerOlder