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
{ config, pkgs, lib, ... }: | |
with lib; | |
let | |
dockerDir = "${config.hostParams.jitsiMeetUser.home}/docker-jitsi-meet"; | |
configDir = "${config.hostParams.jitsiMeetUser.home}/jitsi-meet-cfg"; | |
setupJitsiMeet = pkgs.writeShellScriptBin "setupJitsiMeet" '' | |
if test -e ${dockerDir}; then | |
rm -rf ${dockerDir} | |
fi |
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, ... }: | |
let | |
switch-fix = pkgs.writeShellScriptBin "switch-fix" '' | |
sudo nix-env --profile /nix/var/nix/profiles/system --set /run/current-system | |
sudo /run/current-system/bin/switch-to-configuration switch | |
''; | |
boot-fix = pkgs.writeShellScriptBin "boot-fix" '' | |
sudo nix-env --profile /nix/var/nix/profiles/system --set $1 | |
sudo $1/bin/switch-to-configuration boot | |
''; |
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
{ | |
config, | |
lib, | |
pkgs, | |
... | |
}: | |
with lib; | |
let | |
cfg = config.services.docker-compose; | |
settingsFormat = pkgs.formats.yaml {}; |
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/python3 | |
import argparse | |
import re | |
import subprocess | |
presets = { | |
'intel1': { | |
'dim1': '3200x1800', | |
'dim2': '2560x1440', |
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
#!/bin/bash +x | |
sudo apt -y install vim-gtk emacs25 rbenv ruby-build redis-server \ | |
wget htop man-db bash-completion openjdk-8-jre \ | |
libssl1.0-dev nodejs dolphin dolphin-plugins \ | |
plasma-integration tmux silversearcher-ag \ | |
python3-pip python3-tk keychain rclone \ | |
locales-all | |
if [ $? -ne 0 ] |
This file has been truncated, but you can view the full file.
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
* Package: chromeos-base/chromeos-chrome-54.0.2840.101_rc-r1 | |
* Repository: chromiumos | |
* USE: accessibility amd64 autotest build_tests buildcheck chrome_debug chrome_remoting cups elibc_glibc evdev_gestures fonts gn gold highdpi kernel_linux nacl opengles ozone ozone_platform_default_gbm ozone_platform_gbm runhooks userland_GNU v4l2_codec vaapi xkbcommon | |
* FEATURES: sandbox splitdebug userpriv usersandbox | |
* Running stacked hooks for pre_pkg_setup | |
* sysroot_build_bin_dir ... | |
[ ok ] | |
* Running stacked hooks for pre_src_unpack | |
* python_multilib_setup ... |