mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-20 21:37:24 +02:00
Compare commits
No commits in common. "f4c796c5ed95deaa208151191f21358ef49837dc" and "3c9a97ed2f20cde445f64cba15014fb01627fa26" have entirely different histories.
f4c796c5ed
...
3c9a97ed2f
@ -129,7 +129,7 @@ repos:
|
||||
exclude_types: [python, pyi, jupyter, json]
|
||||
additional_dependencies: [
|
||||
# https://www.npmjs.com/package/prettier
|
||||
"prettier@3.2.5",
|
||||
"prettier@3.2.4",
|
||||
# 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
1
etc/.gitignore
vendored
@ -1 +0,0 @@
|
||||
brave
|
1
etc/chromium/policies/.gitignore
vendored
1
etc/chromium/policies/.gitignore
vendored
@ -1 +0,0 @@
|
||||
managed
|
@ -1 +0,0 @@
|
||||
This directory/managed is read by Vivaldi
|
@ -1 +0,0 @@
|
||||
../../opt/chromium/policies/managed
|
@ -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
24
etc/install
Executable 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".'
|
Loading…
x
Reference in New Issue
Block a user