summaryrefslogtreecommitdiff
path: root/hosts/moyo
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-06-03 10:30:38 -0400
committerAndrew Opalach <andrew@akon.city> 2025-06-03 10:30:38 -0400
commit68f39eb867c851acb651f79604aba119ecaa9527 (patch)
tree856a3de46de8196736a8fd4c59395d7192aa8353 /hosts/moyo
parenta28487fe6fbac72c7b1a752acab42dcc6ab46476 (diff)
downloaddotfiles-68f39eb867c851acb651f79604aba119ecaa9527.tar.gz
dotfiles-68f39eb867c851acb651f79604aba119ecaa9527.tar.bz2
dotfiles-68f39eb867c851acb651f79604aba119ecaa9527.zip
Add some gentoo stuff and update cgit
Diffstat (limited to 'hosts/moyo')
-rw-r--r--hosts/moyo/fstab7
-rw-r--r--hosts/moyo/samba/smb.conf9
-rw-r--r--hosts/moyo/sshd_config7
3 files changed, 18 insertions, 5 deletions
diff --git a/hosts/moyo/fstab b/hosts/moyo/fstab
new file mode 100644
index 0000000..29b6c66
--- /dev/null
+++ b/hosts/moyo/fstab
@@ -0,0 +1,7 @@
+/dev/moyo-vg0/root / ext4 noatime 0 1
+UUID="879D-5154" /boot vfat defaults,noatime 0 2
+/dev/moyo-vg0/swap none swap sw 0 0
+
+tmpfs /var/tmp/portage tmpfs size=6G,uid=portage,gid=portage,mode=775 0 0
+
+#hugetlbfs /hugepages hugetlbfs mode=1770,gid=100 0 0
diff --git a/hosts/moyo/samba/smb.conf b/hosts/moyo/samba/smb.conf
index 5781f4f..8a928a0 100644
--- a/hosts/moyo/samba/smb.conf
+++ b/hosts/moyo/samba/smb.conf
@@ -10,21 +10,20 @@
log file = /var/log/samba/log.%m
max log size = 50
passdb backend = tdbsam
- allow insecure wide links = yes
+ allow insecure wide links = no
kernel oplocks = yes
- socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=32768 SO_SNDBUF=32768
getwd cache = true
acl allow execute always = yes
ea support = yes
store dos attributes = yes
[samba]
- comment = code
+ comment = sharing with windows
path = /srv/nfs/samba
valid users = andrew
guest ok = no
browseable = yes
writable = yes
public = no
- follow symlinks = yes
- wide links = yes
+ follow symlinks = no
+ wide links = no
diff --git a/hosts/moyo/sshd_config b/hosts/moyo/sshd_config
new file mode 100644
index 0000000..91fe201
--- /dev/null
+++ b/hosts/moyo/sshd_config
@@ -0,0 +1,7 @@
+PermitRootLogin no
+PubkeyAuthentication yes
+PasswordAuthentication no
+PermitEmptyPasswords no
+KbdInteractiveAuthentication no
+Subsystem sftp /usr/lib64/misc/sftp-server
+Include "/etc/ssh/sshd_config.d/*.conf"