mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
feat(guix): update manifests
This commit is contained in:
parent
99505117b4
commit
f319f1a31f
8 changed files with 23 additions and 5 deletions
|
|
@ -37,6 +37,7 @@
|
|||
"bind:utils"
|
||||
"polybar"
|
||||
"i3-gaps"
|
||||
"xinput"
|
||||
"xgamma"
|
||||
"xrandr"
|
||||
"xsettingsd"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
(specifications->manifest
|
||||
'(
|
||||
"node"
|
||||
"git-filter-repo"
|
||||
"virt-manager"
|
||||
"postgresql"
|
||||
"docker-compose"
|
||||
|
|
|
|||
2
.mailcap
2
.mailcap
|
|
@ -6,4 +6,4 @@ application/msword; /usr/bin/xdg-open %s
|
|||
application/pdf; zathura %s
|
||||
application/postscript ; zathura %s
|
||||
|
||||
text/html; /usr/bin/xdg-open %s
|
||||
text/html; firefox %s
|
||||
|
|
|
|||
|
|
@ -208,11 +208,12 @@ Xft/Antialias 1
|
|||
Xft/Hinting 0
|
||||
Xft/HintStyle "hintnone"
|
||||
#+end_src
|
||||
** Screen settings
|
||||
** Device-specific settings
|
||||
| Guix dependency | Description |
|
||||
|-----------------+--------------------------------------------|
|
||||
| xrandr | X11 CLI to RandR |
|
||||
| xgamma | A tool to alter monitor's gamma correction |
|
||||
| xinput | Configure input devices |
|
||||
|
||||
Set screen layout & other params depending on hostname
|
||||
#+begin_src sh :tangle ~/bin/scripts/screen-layout
|
||||
|
|
@ -2097,6 +2098,8 @@ This section generates manifests for various desktop software that I'm using.
|
|||
| dev | docker-compose |
|
||||
| dev | postgresql |
|
||||
| dev | virt-manager |
|
||||
| dev | git-filter-repo |
|
||||
| dev | node |
|
||||
** Manifests
|
||||
#+NAME: packages
|
||||
#+begin_src emacs-lisp :tangle no :var category=""
|
||||
|
|
|
|||
9
Guix.org
9
Guix.org
|
|
@ -569,9 +569,14 @@ As of now, CyberGhost doesn't provide ipv6, so we have to disable it.
|
|||
#+begin_src bash :tangle ~/bin/scripts/vpn-start
|
||||
CONN=$(nmcli -f NAME con show --active | grep -Ev "(.*docker.*|NAME|br-.*|veth.*|tun.*)" | sed 's/ *$//g')
|
||||
|
||||
if [ -z "$CONN" ]; then
|
||||
echo "No connection!"
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "Connection: $CONN"
|
||||
|
||||
nmcli con modify "$CONN" ipv6.method ignore
|
||||
sudo nmcli con modify "$CONN" ipv6.method ignore
|
||||
nmcli connection up "$CONN"
|
||||
sudo openvpn --config ~/.vpn/openvpn.ovpn
|
||||
#+end_src
|
||||
|
|
@ -583,7 +588,7 @@ Also a script to reverse the changes.
|
|||
CONN=$(nmcli -f NAME con show --active | grep -Ev "(.*docker.*|NAME|br-.*|veth.*|tun.*)" | sed 's/ *$//g')
|
||||
echo "Connection: $CONN"
|
||||
|
||||
nmcli con modify "$CONN" ipv6.method auto
|
||||
sudo nmcli con modify "$CONN" ipv6.method auto
|
||||
nmcli connection up "$CONN"
|
||||
#+end_src
|
||||
** flatpak
|
||||
|
|
|
|||
2
Mail.org
2
Mail.org
|
|
@ -237,7 +237,7 @@ application/msword; /usr/bin/xdg-open %s
|
|||
application/pdf; zathura %s
|
||||
application/postscript ; zathura %s
|
||||
|
||||
text/html; /usr/bin/xdg-open %s
|
||||
text/html; firefox %s
|
||||
#+end_src
|
||||
* Guix settings
|
||||
#+NAME: packages
|
||||
|
|
|
|||
|
|
@ -88,4 +88,6 @@ Mail/progin6304/.credentials.gmailieer.json
|
|||
secrets/*
|
||||
.emacs.d/dired-bookmarks.el
|
||||
.emacs.d/elfeed.org
|
||||
.emacs.d/prodigy.org
|
||||
.emacs.d/prodigy-config.el
|
||||
#+end_src
|
||||
|
|
|
|||
|
|
@ -2,6 +2,11 @@
|
|||
# [[file:../../Guix.org::*vpn-start][vpn-start:1]]
|
||||
CONN=$(nmcli -f NAME con show --active | grep -Ev "(.*docker.*|NAME|br-.*|veth.*|tun.*)" | sed 's/ *$//g')
|
||||
|
||||
if [ -z "$CONN" ]; then
|
||||
echo "No connection!"
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "Connection: $CONN"
|
||||
|
||||
sudo nmcli con modify "$CONN" ipv6.method ignore
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue