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
security.pki.certificateFiles = [ | |
(pkgs.fetchurl { | |
url = "https://www.cacert.org/certs/class3.crt"; | |
sha256 = "0kzq3gvili5mpjkz7p3mf46d14175id4b4ll188mph0wvajxmfpm"; | |
}) | |
]; |
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
http { | |
proxy_cache_path /tmp/nginx/cache/osmhot keys_zone=osmhot:1024m inactive=7d; | |
upstream osmhot { | |
server a.tile.openstreetmap.fr; | |
#server b.tile.openstreetmap.fr; | |
keepalive 4; | |
} | |
server { |
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
peer "gw01" { | |
key "8ddaa67325583c64adf6e60cbe78e3436e5765fd0a2a632fae9e0ad68c855803"; | |
remote ipv4 "gw01.ffmuc.net" port 10000; | |
} |
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
{ | |
network.description = "my nixops network"; | |
vm1 = { config, pkgs, ... }: | |
{ | |
deployment = | |
{ targetEnv = "none"; | |
targetHost = "0.0.0.0"; | |
}; |
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
! https://sourcefoundry.org/hack/ | |
URxvt*font: xft:Hack:size=9:antialias=false | |
URxvt*perl-ext-common: default,matcher,url-picker,font-size | |
URxvt*url-launcher: firefox | |
URxvt.keysym.CM-u: perl:url-picker | |
URxvt.keysym.C-Up: perl:font-size:increase | |
URxvt.keysym.C-Down: perl:font-size:decrease | |
URxvt.keysym.C-A-Up: perl:font-size:incglobal |
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
services.gitlab = { | |
enable = true; | |
databasePassword = "redacted"; | |
https = true; | |
host = "yolovo.test.bpletza.de"; | |
port = 443; | |
user = "git"; | |
group = "git"; | |
extraConfig = { gitlab = { default_projects_features = { builds = false; }; }; }; | |
}; |
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/sh | |
PWM=/sys/devices/platform/thinkpad_hwmon/pwm1 | |
PWM_ENABLE=/sys/devices/platform/thinkpad_hwmon/pwm1_enable | |
case $1 in | |
full) | |
echo "Fan: full-speed" | |
echo 0 > $PWM_ENABLE | |
;; |
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
{ | |
nix = { | |
binaryCachePublicKeys = [ "hydra.mayflower.de:9knPU2SJ2xyI0KTJjtUKOGUVdR2/3cOB4VNDQThcfaY= " ]; | |
binaryCaches = [ "https://hydra.mayflower.de/" ]; | |
}; | |
} |
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/sh | |
case "$1" in | |
dock) | |
xrandr --output DP2-1 --auto | |
xrandr --output eDP1 --off | |
xrandr --output DP2-2 --auto | |
xrandr --output DP2-1 --left-of DP2-2 | |
;; | |
pro*) |
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
services.xserver.displayManager.slim = { | |
enable = true; | |
defaultUser = "fpletz"; | |
theme = pkgs.fetchurl { | |
url = "https://github.com/rnhmjoj/nix-slim/archive/0.3.0.tar.gz"; | |
sha256 = "0qhha3pggh444s5ba4kcgdxv6d2fmrc7cvvii44c779vinb5wis6"; | |
}; | |
}; |