mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
Fixes widevine on aarch64 firefox, adds quartus prime
This commit is contained in:
parent
5cc4117bf8
commit
5045bbecf5
5 changed files with 44 additions and 16 deletions
|
@ -14,21 +14,27 @@ in {
|
||||||
./waybar.nix
|
./waybar.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs;
|
||||||
(
|
[
|
||||||
|
(
|
||||||
|
if pkgs.stdenv.isAarch64
|
||||||
|
then firefox-wv
|
||||||
|
else firefox
|
||||||
|
)
|
||||||
|
lxappearance
|
||||||
|
pipewire
|
||||||
|
polkit-kde-agent
|
||||||
|
qt6.qtwayland
|
||||||
|
qt6ct
|
||||||
|
xdg-desktop-portal-hyprland
|
||||||
|
xdg-desktop-portal
|
||||||
|
rofi-wayland
|
||||||
|
]
|
||||||
|
++ (
|
||||||
if pkgs.stdenv.isAarch64
|
if pkgs.stdenv.isAarch64
|
||||||
then firefox-wv
|
then [firefox-wv]
|
||||||
else firefox
|
else [firefox discord (quartus-prime-lite.override (old: {supportedDevices = ["Cyclone V"];}))]
|
||||||
)
|
);
|
||||||
lxappearance
|
|
||||||
pipewire
|
|
||||||
polkit-kde-agent
|
|
||||||
qt6.qtwayland
|
|
||||||
qt6ct
|
|
||||||
xdg-desktop-portal-hyprland
|
|
||||||
xdg-desktop-portal
|
|
||||||
rofi-wayland
|
|
||||||
];
|
|
||||||
|
|
||||||
# notifications daemon
|
# notifications daemon
|
||||||
services.mako.enable = true;
|
services.mako.enable = true;
|
||||||
|
@ -159,7 +165,7 @@ in {
|
||||||
kb_layout = globals.keyboard.layout;
|
kb_layout = globals.keyboard.layout;
|
||||||
kb_variant = globals.keyboard.variant;
|
kb_variant = globals.keyboard.variant;
|
||||||
sensitivity = 0.4;
|
sensitivity = 0.4;
|
||||||
accel_profile = "adaptive";
|
accel_profile = "flat";
|
||||||
touchpad = {
|
touchpad = {
|
||||||
natural_scroll = true;
|
natural_scroll = true;
|
||||||
clickfinger_behavior = true;
|
clickfinger_behavior = true;
|
||||||
|
@ -169,6 +175,11 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"device:synaptics-tm3053-003" = {
|
||||||
|
accel_profile = "adaptive";
|
||||||
|
sensitivity = 0.3;
|
||||||
|
};
|
||||||
|
|
||||||
gestures = {
|
gestures = {
|
||||||
workspace_swipe = true;
|
workspace_swipe = true;
|
||||||
workspace_swipe_fingers = 3;
|
workspace_swipe_fingers = 3;
|
||||||
|
|
|
@ -47,6 +47,7 @@ in {
|
||||||
sqlite
|
sqlite
|
||||||
tealdeer
|
tealdeer
|
||||||
unzip
|
unzip
|
||||||
|
vhdl-ls
|
||||||
yq
|
yq
|
||||||
vhdl-ls
|
vhdl-ls
|
||||||
zsh-completions
|
zsh-completions
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
boot.kernelModules = ["kvm-intel"];
|
boot.kernelModules = ["kvm-intel"];
|
||||||
boot.extraModulePackages = [];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
|
boot.tmp.useTmpfs = false;
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/1fb0caa2-f036-4403-b75f-beed8ba54984";
|
device = "/dev/disk/by-uuid/1fb0caa2-f036-4403-b75f-beed8ba54984";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
programs.command-not-found.enable = false;
|
programs.command-not-found.enable = false;
|
||||||
|
|
||||||
boot.tmp.useTmpfs = true;
|
boot.tmp.useTmpfs = lib.mkDefault true;
|
||||||
|
|
||||||
console.keyMap = "colemak";
|
console.keyMap = "colemak";
|
||||||
console.packages = [pkgs.terminus_font];
|
console.packages = [pkgs.terminus_font];
|
||||||
|
@ -46,6 +46,17 @@
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services.udev.enable = true;
|
services.udev.enable = true;
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
# USB-Blaster
|
||||||
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6001", MODE="0666"
|
||||||
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6002", MODE="0666"
|
||||||
|
|
||||||
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6003", MODE="0666"
|
||||||
|
|
||||||
|
# USB-Blaster II
|
||||||
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6010", MODE="0666"
|
||||||
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6810", MODE="0666"
|
||||||
|
'';
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.settings.PasswordAuthentication = false;
|
services.openssh.settings.PasswordAuthentication = false;
|
||||||
|
|
|
@ -3,6 +3,9 @@
|
||||||
globals,
|
globals,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6001", MODE="0666"
|
||||||
|
'';
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue