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 ./fstrim.nix
./qemu-user.nix ./qemu-user.nix
./atmega.nix ./atmega.nix
./v4l2loopback.nix
]; ];
environment.etc."lvm/lvm.conf".text = '' environment.etc."lvm/lvm.conf".text = ''
@ -57,9 +58,13 @@
services.thermald.enable = true; 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 = { virtualisation.libvirtd = {
enable = true; enable = true;

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

@ -9,6 +9,7 @@
./uefi.nix ./uefi.nix
./fstrim.nix ./fstrim.nix
./atmega.nix ./atmega.nix
./v4l2loopack.nix
]; ];
environment.etc."lvm/lvm.conf".text = '' 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 # calibre
goldendict goldendict
xournal
(xournalpp.overrideDerivation (_: { (xournalpp.overrideDerivation (_: {
patches = [ patches = [
./xournalpp-cursor-blink.patch ./xournalpp-cursor-blink.patch

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

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

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

10
v4l2loopback.nix Normal file

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