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
#!/usr/bin/env bash | |
set -euo pipefail | |
## Defaults | |
keepGensDef=10; keepDaysDef=7 | |
keepGens=$keepGensDef; keepDays=$keepDaysDef | |
## Usage | |
usage () { | |
printf "Usage:\n\t trim-generations.sh (defaults are: Keep-Gens=$keepGensDef Keep-Days=$keepDaysDef Profile=user)\n\n" |
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
{ lib, fetchFromGitHub, buildGoModule }: | |
buildGoModule rec { | |
pname = "linkerd"; | |
version = "2.10.2"; | |
src = fetchFromGitHub { | |
owner = "linkerd"; | |
repo = "linkerd2"; | |
rev = "stable-${version}"; |
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
# Services (X) | |
services = { | |
tlp = { | |
enable = true; | |
settings = { | |
CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; | |
CPU_SCALING_GOVERNOR_ON_AC = "performance"; | |
CPU_MAX_PERF_ON_AC = 100; | |
CPU_MAX_PERF_ON_BAT = 90; |
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
zsh = { | |
enable = true; | |
autosuggestions.enable = true; | |
enableCompletion = true; | |
syntaxHighlighting.enable = true; | |
interactiveShellInit = '' | |
eval "$(direnv hook zsh)"; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>diff</title> | |
<meta name="Generator" content="Vim/8.2"> | |
<meta name="plugin-version" content="vim8.1_v2"> | |
<meta name="settings" content="whole_filler,use_css,no_foldcolumn,prevent_copy=,use_input_for_pc=fallback"> | |
<meta name="colorscheme" content="none"> | |
<style> |
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
version: '2' | |
services: | |
web: | |
image: ansible/awx:13.0.0 | |
container_name: awx_web | |
depends_on: | |
- redis | |
ports: | |
- "80:8052" |