diff --git a/nixos/configuration.nix b/nixos/configuration.nix index b22e845..6d5039c 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -12,6 +12,7 @@ ./services.nix ./scanner.nix ./packages.nix + ./synergyC.nix ]; # Use the systemd-boot EFI boot loader. @@ -27,6 +28,18 @@ services.printing.enable = true; services.printing.drivers = [ pkgs.brlaser ]; # 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; # Enable Bluetooth hardware.bluetooth.enable = true; @@ -65,6 +78,7 @@ services.blueman.enable = true; unmanaged = [ "interface-name:ve-*" ]; }; firewall.enable = true; + firewall.allowedTCPPorts = [ 24800 ]; extraHosts = '' 10.105.42.181 blog.example.fr php.example.com wordpress.example.com wp.example.com diff --git a/nixos/synergyC.nix b/nixos/synergyC.nix new file mode 100644 index 0000000..64c261c --- /dev/null +++ b/nixos/synergyC.nix @@ -0,0 +1,11 @@ +{ config, lib, pkgs, ...} : { +services = { + synergy.client = { + enable = true; + screenName = "Alexos"; + serverAddress = "192.168.10.106"; + autoStart = true; + }; +}; +} + diff --git a/nixpkgs/home.nix b/nixpkgs/home.nix index b47b92a..2f5e858 100644 --- a/nixpkgs/home.nix +++ b/nixpkgs/home.nix @@ -1,10 +1,11 @@ -{ pkgs, ... }: { +{ pkgs, config, ... }: { imports = [ ./packages.nix ./gnupg.nix ./git.nix ./variables.nix - ./mails.nix + ./starship.nix + #./mails.nix ]; home.keyboard = { layout = "fr"; diff --git a/nixpkgs/mails.nix b/nixpkgs/mails.nix index 84e012c..b189148 100644 --- a/nixpkgs/mails.nix +++ b/nixpkgs/mails.nix @@ -43,6 +43,7 @@ passwordCommand = "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.password-store/mails.gpg"; smtp = { host = "smtp.dri.fr"; + port = 587; }; }; }; diff --git a/nixpkgs/packages.nix b/nixpkgs/packages.nix index 9c79ff5..a1507ba 100644 --- a/nixpkgs/packages.nix +++ b/nixpkgs/packages.nix @@ -13,9 +13,25 @@ zathura rofi rofi-pass - pdfarranger + poppler_utils simple-scan brightnessctl chromium + conky + gimp + scrot + papirus-icon-theme + ganttproject-bin + audio-recorder + starship + poppler_utils + conky + lua + zola + tint2 + yadm + pandoc + hugo + whois ]; }