FIX : acceleration hardware

ADD : synergy config
This commit is contained in:
Alexandre LUCAZEAU 2022-01-10 10:30:48 +01:00
parent 1519f31ab4
commit f36fc587d0
5 changed files with 46 additions and 3 deletions

View File

@ -12,6 +12,7 @@
./services.nix ./services.nix
./scanner.nix ./scanner.nix
./packages.nix ./packages.nix
./synergyC.nix
]; ];
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
@ -27,6 +28,18 @@ services.printing.enable = true;
services.printing.drivers = [ pkgs.brlaser ]; services.printing.drivers = [ pkgs.brlaser ];
# Video acceleration # Video acceleration
nixpkgs.config.packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
};
hardware.opengl = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver # LIBVA_DRIVER_NAME=iHD
vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
vaapiVdpau
libvdpau-va-gl
];
};
# hardware.opengl.extraPackages; # hardware.opengl.extraPackages;
# Enable Bluetooth # Enable Bluetooth
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
@ -65,6 +78,7 @@ services.blueman.enable = true;
unmanaged = [ "interface-name:ve-*" ]; unmanaged = [ "interface-name:ve-*" ];
}; };
firewall.enable = true; firewall.enable = true;
firewall.allowedTCPPorts = [ 24800 ];
extraHosts = extraHosts =
'' ''
10.105.42.181 blog.example.fr php.example.com wordpress.example.com wp.example.com 10.105.42.181 blog.example.fr php.example.com wordpress.example.com wp.example.com

11
nixos/synergyC.nix Normal file
View File

@ -0,0 +1,11 @@
{ config, lib, pkgs, ...} : {
services = {
synergy.client = {
enable = true;
screenName = "Alexos";
serverAddress = "192.168.10.106";
autoStart = true;
};
};
}

View File

@ -1,10 +1,11 @@
{ pkgs, ... }: { { pkgs, config, ... }: {
imports = [ imports = [
./packages.nix ./packages.nix
./gnupg.nix ./gnupg.nix
./git.nix ./git.nix
./variables.nix ./variables.nix
./mails.nix ./starship.nix
#./mails.nix
]; ];
home.keyboard = { home.keyboard = {
layout = "fr"; layout = "fr";

View File

@ -43,6 +43,7 @@
passwordCommand = "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.password-store/mails.gpg"; passwordCommand = "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.password-store/mails.gpg";
smtp = { smtp = {
host = "smtp.dri.fr"; host = "smtp.dri.fr";
port = 587;
}; };
}; };
}; };

View File

@ -13,9 +13,25 @@
zathura zathura
rofi rofi
rofi-pass rofi-pass
pdfarranger poppler_utils
simple-scan simple-scan
brightnessctl brightnessctl
chromium chromium
conky
gimp
scrot
papirus-icon-theme
ganttproject-bin
audio-recorder
starship
poppler_utils
conky
lua
zola
tint2
yadm
pandoc
hugo
whois
]; ];
} }