mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-20 13:17:38 +02:00
Compare commits
5 Commits
3c9a97ed2f
...
f4c796c5ed
Author | SHA1 | Date | |
---|---|---|---|
f4c796c5ed | |||
e672d04d46 | |||
624cdb6b20 | |||
8c11a1afce | |||
f0ee77fa05 |
@ -129,7 +129,7 @@ repos:
|
||||
exclude_types: [python, pyi, jupyter, json]
|
||||
additional_dependencies: [
|
||||
# https://www.npmjs.com/package/prettier
|
||||
"prettier@3.2.4",
|
||||
"prettier@3.2.5",
|
||||
# https://www.npmjs.com/package/prettier-plugin-nginx
|
||||
"prettier-plugin-nginx@1.0.3",
|
||||
# https://www.npmjs.com/package/prettier-plugin-toml
|
||||
|
1
etc/.gitignore
vendored
Normal file
1
etc/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
brave
|
1
etc/chromium/policies/.gitignore
vendored
Normal file
1
etc/chromium/policies/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
managed
|
1
etc/chromium/policies/README.md
Normal file
1
etc/chromium/policies/README.md
Normal file
@ -0,0 +1 @@
|
||||
This directory/managed is read by Vivaldi
|
1
etc/chromium/policies/managed
Symbolic link
1
etc/chromium/policies/managed
Symbolic link
@ -0,0 +1 @@
|
||||
../../opt/chromium/policies/managed
|
25
etc/init-browser-policies.bash
Executable file
25
etc/init-browser-policies.bash
Executable file
@ -0,0 +1,25 @@
|
||||
#!/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
24
etc/install
@ -1,24 +0,0 @@
|
||||
#!/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".'
|
Loading…
x
Reference in New Issue
Block a user