Merge remote-tracking branch 'origin/master'

This commit is contained in:
Gabriel Ebner 2020-11-12 19:42:25 +01:00
commit 0938a7079e
9 changed files with 30 additions and 22 deletions

@ -11,6 +11,7 @@
./fstrim.nix
./qemu-user.nix
./atmega.nix
./v4l2loopback.nix
];
environment.etc."lvm/lvm.conf".text = ''
@ -57,9 +58,13 @@
services.thermald.enable = true;
users.extraUsers.gebner.extraGroups = [ "libvirtd" ];
users.extraUsers.gebner.extraGroups = [ "libvirtd" "vboxusers" ];
virtualisation.virtualbox.host.enable = true;
virtualisation.virtualbox.host = {
enable = true;
# enableExtensionPack = true;
};
# nixpkgs.config.allowUnfree = true;
virtualisation.libvirtd = {
enable = true;

@ -33,6 +33,8 @@
mercurial
manpages
dfeet
geoipWithDatabase
nix-index

@ -9,6 +9,7 @@
./uefi.nix
./fstrim.nix
./atmega.nix
./v4l2loopack.nix
];
environment.etc."lvm/lvm.conf".text = ''

@ -1,13 +0,0 @@
diff --git a/src/modules/clock.cpp b/src/modules/clock.cpp
index f313606..daa0f6a 100644
--- a/src/modules/clock.cpp
+++ b/src/modules/clock.cpp
@@ -46,7 +46,7 @@ auto waybar::modules::Clock::update() -> void {
date::make_zoned(time_zone_, date::floor<std::chrono::seconds>(now))};
std::string text;
- if (!fixed_time_zone_) {
+ if (false && !fixed_time_zone_) {
// As date dep is not fully compatible, prefer fmt
tzset();
auto localtime = fmt::localtime(std::chrono::system_clock::to_time_t(now));

@ -13,6 +13,7 @@
# calibre
goldendict
xournal
(xournalpp.overrideDerivation (_: {
patches = [
./xournalpp-cursor-blink.patch

@ -9,6 +9,7 @@
./uefi.nix
./fstrim.nix
./atmega.nix
./v4l2loopback.nix
];
environment.etc."lvm/lvm.conf".text = ''

@ -12,10 +12,15 @@
default-sample-format = "s32le";
default-sample-rate = "96000";
};
package = pkgs.pulseaudioFull;
extraModules = [ pkgs.pulseaudio-modules-bt ];
# package = pkgs.pulseaudioFull;
package = pkgs.pulseaudio-hsphfpd;
# extraModules = [ pkgs.pulseaudio-modules-bt ];
};
hardware.bluetooth.hsphfpd.enable = true;
users.extraUsers.gebner.extraGroups = [ "bluetooth" ];
services.pipewire = {
enable = true;
};

@ -7,11 +7,7 @@
environment.systemPackages = with pkgs; with gnome3; [
i3status
((waybar.override { pulseSupport = true; }).overrideDerivation (_: {
patches = [
./fix-waybar.patch
];
}))
(waybar.override { pulseSupport = true; })
wofi
ydotool
wl-clipboard

10
v4l2loopback.nix Normal file

@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
boot = {
kernelModules = [ "v4l2loopback" ];
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
};
}