mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-21 01:34:34 +05:30
delete syncthing
This commit is contained in:
parent
efe7ecea42
commit
69697deda4
|
@ -21,7 +21,6 @@
|
||||||
librewolf
|
librewolf
|
||||||
brave
|
brave
|
||||||
git
|
git
|
||||||
syncthing
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
brave
|
brave
|
||||||
qutebrowser
|
qutebrowser
|
||||||
git
|
git
|
||||||
syncthing
|
|
||||||
|
|
||||||
# Office
|
# Office
|
||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
|
@ -188,8 +187,6 @@
|
||||||
extension = "svg";
|
extension = "svg";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.syncthing.enable = true;
|
|
||||||
|
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
xdg.userDirs = {
|
xdg.userDirs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
# Core
|
# Core
|
||||||
zsh
|
zsh
|
||||||
git
|
git
|
||||||
syncthing
|
|
||||||
|
|
||||||
# Office
|
# Office
|
||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
|
@ -33,8 +32,6 @@
|
||||||
nodePackages.ungit
|
nodePackages.ungit
|
||||||
];
|
];
|
||||||
|
|
||||||
services.syncthing.enable = true;
|
|
||||||
|
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
xdg.userDirs = {
|
xdg.userDirs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
# Firewall
|
# Firewall
|
||||||
networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [ 22000 21027 ]; # syncthing
|
|
||||||
networking.firewall.allowedUDPPorts = [ 22000 21027 ]; # syncthing
|
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,7 +53,6 @@ in
|
||||||
#exec-once = STEAM_FRAME_FORCE_CLOSE=1 steam -silent
|
#exec-once = STEAM_FRAME_FORCE_CLOSE=1 steam -silent
|
||||||
exec-once = nm-applet
|
exec-once = nm-applet
|
||||||
exec-once = blueman-applet
|
exec-once = blueman-applet
|
||||||
exec-once = GOMAXPROCS=1 syncthing --no-browser
|
|
||||||
exec-once = protonmail-bridge --noninteractive
|
exec-once = protonmail-bridge --noninteractive
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
|
|
||||||
|
|
|
@ -1,28 +0,0 @@
|
||||||
#+title: XMonad
|
|
||||||
#+author: Emmet
|
|
||||||
|
|
||||||
* What is XMonad?
|
|
||||||
[[https://xmonad.org/][XMonad]] is a tiling window manager written and configured in Haskell. Since I have built up my own XMonad config over a few years, it is extremely efficient for me to operate (since it can be managed fully with the keyboard).
|
|
||||||
|
|
||||||
[[xmonad.png]]
|
|
||||||
|
|
||||||
With my XMonad setup, there are several auxiliary utilities required to make it a "full desktop environment." A few of these packages include:
|
|
||||||
- [[https://codeberg.org/xmobar/xmobar][xmobar]] - Status bar
|
|
||||||
- [[https://github.com/davatorium/rofi][rofi]] - App launcher
|
|
||||||
- [[https://github.com/sagb/alttab][alttab]] - Window switcher
|
|
||||||
- [[https://feh.finalrewind.org/][feh]] - Wallpaper utility
|
|
||||||
- pavucontrol and pamixer - Sound and volume control
|
|
||||||
- [[https://github.com/firecat53/networkmanager-dmenu][networkmanager_dmenu]] - Internet connection control
|
|
||||||
- brightnessctl - Screen brightness control
|
|
||||||
- [[https://www.umaxx.net/][sct]] - Adjust screen color temperature
|
|
||||||
- xkill and killall - Better than hitting Ctrl+Alt+Delete and waiting a few minutes
|
|
||||||
|
|
||||||
* My Config
|
|
||||||
This directory includes my XMonad configuration, which consists of:
|
|
||||||
- [[./xmonad.hs][xmonad.hs]] - Main configuration
|
|
||||||
- [[./startup.sh][startup.sh]] - Startup script called by XMonad on startup
|
|
||||||
- [[./lib/Colors/Stylix.hs.mustache][lib/Colors/Stylix.hs.mustache]] - Mustache template used to generate color library to theme XMonad with Stylix
|
|
||||||
- [[./xmobarrc.mustache][xmobarrc.mustache]] - Mustache template used to generate my xmobar config themed with Stylix
|
|
||||||
- [[./xmonad.nix][xmonad.nix]] - Loads XMonad and my configuration (along with any necessary packages for my config) into my flake when imported
|
|
||||||
|
|
||||||
My full config is a [[./xmonad.org][literate org document (xmonad.org)]].
|
|
|
@ -19,7 +19,6 @@ setxkbmap -option caps:escape &
|
||||||
alttab -w 1 -t 240x160 -i 64x64 -sc 1 -bg $colorBg -fg $colorFg -frame $colorSecondary -inact $colorFg &
|
alttab -w 1 -t 240x160 -i 64x64 -sc 1 -bg $colorBg -fg $colorFg -frame $colorSecondary -inact $colorFg &
|
||||||
##/usr/bin/trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype request --transparent true --alpha 0 --height 28 --tint $trayertint --monitor "primary" &
|
##/usr/bin/trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype request --transparent true --alpha 0 --height 28 --tint $trayertint --monitor "primary" &
|
||||||
nm-applet &
|
nm-applet &
|
||||||
GOMAXPROCS=1 syncthing --no-browser &
|
|
||||||
protonmail-bridge --noninteractive &
|
protonmail-bridge --noninteractive &
|
||||||
gnome-keyring-daemon --daemonize --login &
|
gnome-keyring-daemon --daemonize --login &
|
||||||
gnome-keyring-daemon --start --components=secrets &
|
gnome-keyring-daemon --start --components=secrets &
|
||||||
|
|
|
@ -39,9 +39,7 @@ Config { font = "Inconsolata 16"
|
||||||
, Run DynNetwork
|
, Run DynNetwork
|
||||||
[ "-t", "<fc=#{{base0D-hex}}><fn=1>\xf0200</fn> <dev></fc>"] 1
|
[ "-t", "<fc=#{{base0D-hex}}><fn=1>\xf0200</fn> <dev></fc>"] 1
|
||||||
, Run Com "cat"
|
, Run Com "cat"
|
||||||
[ "/home/ama/.st-status"] "syncthing" 10
|
|
||||||
, Run Com "echo"
|
, Run Com "echo"
|
||||||
[ "<fn=1>\xea77</fn> "] "syncthingsymbol" 0
|
|
||||||
, Run Com "echo"
|
, Run Com "echo"
|
||||||
[ "<fn=1>\xeb5c</fn> "] "artsymbol" 0
|
[ "<fn=1>\xeb5c</fn> "] "artsymbol" 0
|
||||||
, Run Com "cat"
|
, Run Com "cat"
|
||||||
|
@ -50,6 +48,6 @@ Config { font = "Inconsolata 16"
|
||||||
]
|
]
|
||||||
, sepChar = "%"
|
, sepChar = "%"
|
||||||
, alignSep = "}{"
|
, alignSep = "}{"
|
||||||
, template = " %battery% %bright%<action=`xdotool key Super_L+y`>%default:Master%</action> %memory% %artsymbol%%currenttheme%}%XMonadLog%{<action=`librewolf localhost:8384`>%syncthing%</action> <action='networkmanager_dmenu'>%dynnetwork%</action> <action=`xdotool key Super_L+c`>%date%</action> "
|
, template = " %battery% %bright%<action=`xdotool key Super_L+y`>%default:Master%</action> %memory% %artsymbol%%currenttheme%}%XMonadLog%{<action=`librewolf localhost:8384`</action> <action='networkmanager_dmenu'>%dynnetwork%</action> <action=`xdotool key Super_L+c`>%date%</action> "
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -399,7 +399,6 @@ myManageHook =
|
||||||
title =? "scratch_cfw" --> (customFloating $ W.RationalRect 0.58 0.04 0.42 0.7),
|
title =? "scratch_cfw" --> (customFloating $ W.RationalRect 0.58 0.04 0.42 0.7),
|
||||||
title =? "xmonad_helpmenu" --> (customFloating $ W.RationalRect 0.05 0.05 0.9 0.9),
|
title =? "xmonad_helpmenu" --> (customFloating $ W.RationalRect 0.05 0.05 0.9 0.9),
|
||||||
className =? "Pavucontrol" --> (customFloating $ W.RationalRect 0.05 0.04 0.5 0.35),
|
className =? "Pavucontrol" --> (customFloating $ W.RationalRect 0.05 0.04 0.5 0.35),
|
||||||
className =? "Syncthing GTK" --> (customFloating $ W.RationalRect 0.53 0.50 0.46 0.45),
|
|
||||||
className =? "Proton Mail Bridge" --> (customFloating $ W.RationalRect 0.59 0.66 0.40 0.30),
|
className =? "Proton Mail Bridge" --> (customFloating $ W.RationalRect 0.59 0.66 0.40 0.30),
|
||||||
className =? "Zenity" --> (customFloating $ W.RationalRect 0.45 0.4 0.1 0.2),
|
className =? "Zenity" --> (customFloating $ W.RationalRect 0.45 0.4 0.1 0.2),
|
||||||
resource =? "desktop_window" --> doIgnore,
|
resource =? "desktop_window" --> doIgnore,
|
||||||
|
|
Loading…
Reference in a new issue