[NixOS] Build taffybar exactly as specified by default.nix
This commit is contained in:
parent
a0388f8e90
commit
a7bebe1cec
@ -16,9 +16,6 @@ let
|
|||||||
];
|
];
|
||||||
python-with-my-packages = pkgs.python3.withPackages my-python-packages;
|
python-with-my-packages = pkgs.python3.withPackages my-python-packages;
|
||||||
all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {};
|
all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {};
|
||||||
taffySource = pkgs.lib.sourceByRegex ../dotfiles/config/taffybar [
|
|
||||||
"taffybar.hs" "imalison-taffybar.cabal"
|
|
||||||
];
|
|
||||||
xmonadSource = pkgs.lib.sourceByRegex ../dotfiles/config/xmonad [
|
xmonadSource = pkgs.lib.sourceByRegex ../dotfiles/config/xmonad [
|
||||||
"xmonad.hs" "imalison-xmonad.cabal" "PagerHints.hs" "LICENSE"
|
"xmonad.hs" "imalison-xmonad.cabal" "PagerHints.hs" "LICENSE"
|
||||||
];
|
];
|
||||||
@ -34,7 +31,6 @@ in
|
|||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(import ./overlays.nix)
|
(import ./overlays.nix)
|
||||||
(import ../dotfiles/config/taffybar/taffybar/overlay.nix)
|
|
||||||
(import ../dotfiles/config/xmonad/overlay.nix)
|
(import ../dotfiles/config/xmonad/overlay.nix)
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -128,15 +124,15 @@ in
|
|||||||
gnome-breeze
|
gnome-breeze
|
||||||
|
|
||||||
# Haskell Desktop
|
# Haskell Desktop
|
||||||
(haskellPackages.callCabal2nix "imalison-taffybar" taffySource { })
|
(import ../dotfiles/config/taffybar/default.nix)
|
||||||
(haskellPackages.callCabal2nix "imalison-xmonad" xmonadSource { })
|
(haskellPackages.callCabal2nix "imalison-xmonad" xmonadSource { })
|
||||||
(ntiHaskellPackages.callCabal2nix "notifications-tray-icon" notifications-tray-icon-source { })
|
(ntiHaskellPackages.callCabal2nix "notifications-tray-icon" notifications-tray-icon-source { })
|
||||||
haskellPackages.gtk-sni-tray
|
haskellPackages.gtk-sni-tray
|
||||||
haskellPackages.status-notifier-item
|
haskellPackages.status-notifier-item
|
||||||
haskellPackages.xmonad
|
haskellPackages.xmonad
|
||||||
|
haskellPackages.dbus-hslogger
|
||||||
|
|
||||||
# Desktop
|
# Desktop
|
||||||
taffybar
|
|
||||||
autorandr
|
autorandr
|
||||||
betterlockscreen
|
betterlockscreen
|
||||||
blueman
|
blueman
|
||||||
@ -228,8 +224,6 @@ in
|
|||||||
ispell
|
ispell
|
||||||
jq
|
jq
|
||||||
mercurial
|
mercurial
|
||||||
networkmanager-openvpn
|
|
||||||
networkmanager_strongswan
|
|
||||||
ncdu
|
ncdu
|
||||||
neofetch
|
neofetch
|
||||||
openvpn
|
openvpn
|
||||||
|
@ -12,7 +12,10 @@
|
|||||||
/etc/nixos/cachix.nix
|
/etc/nixos/cachix.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.bumblebee.enable = true;
|
hardware.bumblebee = {
|
||||||
|
enable = true;
|
||||||
|
pmMethod = "bbswitch";
|
||||||
|
};
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user