[NixOS] Huge changes to a bunch of stuff (including taffybar) to be able to bump nixpkgs

This commit is contained in:
2022-05-30 14:25:07 -06:00
parent bf08731d1e
commit 139405f4e3
12 changed files with 12 additions and 23 deletions

View File

@@ -18,7 +18,6 @@ executable taffybar
build-depends: base build-depends: base
, X11 , X11
, bytestring , bytestring
, coinbase-pro
, containers , containers
, directory , directory
, filepath , filepath

View File

@@ -760,7 +760,7 @@ setFocusedScreen :: ScreenId -> WindowSet -> WindowSet
setFocusedScreen to ws = setFocusedScreen to ws =
maybe ws (`setFocusedScreen'` ws) $ find ((to ==) . W.screen) (W.visible ws) maybe ws (`setFocusedScreen'` ws) $ find ((to ==) . W.screen) (W.visible ws)
setFocusedScreen' to ws @ W.StackSet setFocusedScreen' to ws@W.StackSet
{ W.current = prevCurr { W.current = prevCurr
, W.visible = visible , W.visible = visible
} = ws { W.current = to } = ws { W.current = to
@@ -769,7 +769,7 @@ setFocusedScreen' to ws @ W.StackSet
where screenEq a b = W.screen a == W.screen b where screenEq a b = W.screen a == W.screen b
nextScreen ws @ W.StackSet { W.visible = visible } = nextScreen ws@W.StackSet { W.visible = visible } =
case visible of case visible of
next:_ -> setFocusedScreen (W.screen next) ws next:_ -> setFocusedScreen (W.screen next) ws
_ -> ws _ -> ws

View File

@@ -3907,15 +3907,6 @@ I've disabled magithub because it causes magit to be super slow
(interactive) (interactive)
(gitolite-clone-get-projects nil nil t)))) (gitolite-clone-get-projects nil nil t))))
#+END_SRC #+END_SRC
** gitconfig-mode
#+BEGIN_SRC emacs-lisp
(use-package gitconfig-mode
:mode "\\.?gitconfig.?.*\\'")
#+END_SRC
** gitignore-mode
#+BEGIN_SRC emacs-lisp
(use-package gitignore-mode
:mode "\\.?gitignore.?.*\\'")
#+END_SRC #+END_SRC
** github ** github
*** github-search *** github-search

View File

@@ -32,7 +32,7 @@
zoom-us zoom-us
# Appearance # Appearance
gnome-breeze libsForQt5.breeze-gtk
gnome3.adwaita-icon-theme gnome3.adwaita-icon-theme
hicolor-icon-theme hicolor-icon-theme
materia-theme materia-theme
@@ -79,8 +79,6 @@
pavucontrol pavucontrol
playerctl playerctl
# Tools # Tools
automake automake
bind bind
@@ -89,7 +87,6 @@
dex dex
direnv direnv
dpkg dpkg
emacs27Packages.cask
fd fd
file file
gcc gcc

View File

@@ -32,6 +32,7 @@
# Disabling these waits disables the stuck on boot up issue # Disabling these waits disables the stuck on boot up issue
systemd.services.systemd-udev-settle.enable = false; systemd.services.systemd-udev-settle.enable = false;
systemd.services.NetworkManager-wait-online.enable = false; systemd.services.NetworkManager-wait-online.enable = false;
systemd.services.systemd-user-sessions.enable = false;
# Security # Security
programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
@@ -46,7 +47,7 @@
networking.networkmanager = { networking.networkmanager = {
enable = true; enable = true;
enableStrongSwan = true; enableStrongSwan = true;
packages = [ pkgs.networkmanager-l2tp ]; plugins = [ pkgs.networkmanager-l2tp ];
extraConfig = '' extraConfig = ''
[main] [main]
rc-manager=resolvconf rc-manager=resolvconf

View File

@@ -18,6 +18,7 @@ in
nixpkgs.overlays = [ nixpkgs.overlays = [
(import ../dotfiles/config/xmonad/overlay.nix) (import ../dotfiles/config/xmonad/overlay.nix)
]; ];
nixpkgs.config.allowBroken = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
python-with-my-packages python-with-my-packages

View File

@@ -55,7 +55,7 @@
services.random-background = { services.random-background = {
enable = true; enable = true;
display = "scale"; display = "center";
interval = "1h"; interval = "1h";
imageDirectory = "%h/Pictures/wallpaper/use"; imageDirectory = "%h/Pictures/wallpaper/use";
}; };