Compare commits

..

No commits in common. "f4c796c5ed95deaa208151191f21358ef49837dc" and "3c9a97ed2f20cde445f64cba15014fb01627fa26" have entirely different histories.

8 changed files with 25 additions and 31 deletions

View File

@ -129,7 +129,7 @@ repos:
exclude_types: [python, pyi, jupyter, json] exclude_types: [python, pyi, jupyter, json]
additional_dependencies: [ additional_dependencies: [
# https://www.npmjs.com/package/prettier # https://www.npmjs.com/package/prettier
"prettier@3.2.5", "prettier@3.2.4",
# https://www.npmjs.com/package/prettier-plugin-nginx # https://www.npmjs.com/package/prettier-plugin-nginx
"prettier-plugin-nginx@1.0.3", "prettier-plugin-nginx@1.0.3",
# https://www.npmjs.com/package/prettier-plugin-toml # https://www.npmjs.com/package/prettier-plugin-toml

1
etc/.gitignore vendored
View File

@ -1 +0,0 @@
brave

View File

@ -1 +0,0 @@
chromium

View File

@ -1 +0,0 @@
managed

View File

@ -1 +0,0 @@
This directory/managed is read by Vivaldi

View File

@ -1 +0,0 @@
../../opt/chromium/policies/managed

View File

@ -1,25 +0,0 @@
#!/usr/bin/env bash
# This script will create the direcories or symlinks that browsers look for
# their policies. The user is trusted to setup those manually.
set -x
# Firefox and LibreWolf (caution! https://codeberg.org/librewolf/issues/issues/1767)
mkdir -p /etc/firefox/policies
#touch /etc/firefox/policies/policies.json
# Chromium
mkdir -p /etc/opt/chromium/policies/managed
# Brave
ln -s /etc/opt/chromium /etc/brave
# Vivaldi
ln -s /etc/opt/chromium /etc/chromium
# Google Chrome
ln -s /etc/opt/chromium /etc/opt/chrome
# Microsoft Edge
ln -s /etc/opt/chromium /etc/opt/edge
set +x

24
etc/install Executable file
View File

@ -0,0 +1,24 @@
#!/usr/bin/env bash
# FOR MY PERSONAL USE ONLY!
mkdir -p /etc/
cat oidentd.conf >/etc/oidentd.conf
chmod a+r /etc/oidentd.conf
mkdir -p /etc/profile.d/
cat profile.d/mikaela.sh >/etc/profile.d/mikaela.sh
chmod a+r /etc/profile.d/mikaela.sh
mkdir -p /etc/systemd/system/
cat systemd/system/oidentd.socket >/etc/systemd/system/oidentd.socket
chmod a+r /etc/systemd/system/oidentd.socket
mkdir -p /etc/sysctl.d/
if [ ! -f /etc/sysctl.d/60-mikaela.conf ]; then
cat sysctl.d/60-mikaela.conf >/etc/sysctl.d/60-mikaela.conf
chmod a+r /etc/sysctl.d/60-mikaela.conf
fi
echo 'If you use systemd or oidentd you should "systemctl daemon-reload"'
echo 'and "systemctl restart oidentd".'
echo 'You should also "sysctl --system -p".'