Last active
October 19, 2023 14:14
-
-
Save frenata/39ba5aa8f588242742cb9c55e6303769 to your computer and use it in GitHub Desktop.
freebsd setup
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
eval `ssh-agent` |
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
[init] | |
defaultBranch = trunk | |
[user] | |
email = [email protected] | |
name = Andrew Nichols |
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
xrandr --output eDP-1 --scale 0.5 | |
exec awesome |
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/local/etc/doas.conf | |
permit :operator | |
permit nopass frenata cmd bastille |
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
# via `pkg query -e '%a = 0' %o` | |
x11/alacritty | |
x11-wm/awesome | |
sysutils/bastille | |
sysutils/cmdwatch | |
ftp/curl | |
ports-mgmt/dialog4ports | |
x11/dmenu | |
security/doas | |
graphics/drm-kmod | |
www/firefox | |
devel/git | |
devel/gmake | |
lang/go | |
ports-mgmt/pkg | |
databases/postgresql15-client | |
sysutils/tmux | |
editors/vim | |
www/w3m | |
sysutils/watchman | |
x11/xorg |
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
# /etc/pf.conf | |
ext_if="wlan0" | |
set block-policy return | |
scrub in on $ext_if all fragment reassemble | |
#set skip on lo | |
table <jails> persist | |
nat on $ext_if from <jails> to any -> ($ext_if:0) | |
#rdr inet proto tcp from any to any port 8000 -> 10.0.10.1 port 80 | |
rdr-anchor "rdr/*" | |
block in all | |
pass out quick keep state | |
antispoof for $ext_if inet | |
pass in inet proto tcp from any to any port ssh flags S/SA keep state | |
pass in inet proto tcp from any to any port {80,8000,5432} flags S/SA keep state |
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
# /etc/rc.conf | |
hostname="silver" | |
create_args_wlan0="country US regdomain FCC" | |
sshd_enable="YES" | |
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable | |
dumpdev="AUTO" | |
wlans_iwm0="wlan0" | |
ifconfig_wlan0="WPA country NY powersave DHCP" | |
kld_list="/boot/modules/i915kms.ko" | |
cloned_interfaces="lo1" | |
ifconfig_lo1_name="bastille0" | |
pf_enable="YES" | |
bastille_enable="YES" |
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
# /etc/wpa_supplicant.conf | |
ctrl_interface=/var/run/wpa_supplicant | |
eapol_version=2 | |
ap_scan=1 | |
fast_reauth=1 | |
network={ | |
ssid="adams-family" | |
psk="<REDACTED>" | |
} | |
network={ | |
ssid="hihihi" | |
psk="<REDACTED>" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment