From d89551bb6cadfbf4ed0847a933c616be1d46c13e Mon Sep 17 00:00:00 2001 From: Thilo Billerbeck Date: Mon, 4 Mar 2024 02:10:30 +0100 Subject: [PATCH] small modifications to desktop --- configs/thilo-pc/home.nix | 3 --- configs/thilo-pc/nixos.nix | 11 +++++++++++ flake.lock | 6 +++--- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/configs/thilo-pc/home.nix b/configs/thilo-pc/home.nix index 727e456..d1a0de9 100644 --- a/configs/thilo-pc/home.nix +++ b/configs/thilo-pc/home.nix @@ -22,9 +22,6 @@ size = 128; }; */ - services.kdeconnect.enable = true; - services.kdeconnect.indicator = true; - home.sessionVariables = { LD_LIBRARY_PATH = "${pkgs.libGL}/lib"; }; home.packages = with pkgs; [ libsForQt5.discover ]; diff --git a/configs/thilo-pc/nixos.nix b/configs/thilo-pc/nixos.nix index 9b3c786..1b385b0 100644 --- a/configs/thilo-pc/nixos.nix +++ b/configs/thilo-pc/nixos.nix @@ -22,6 +22,14 @@ efi.canTouchEfiVariables = true; }; kernelPackages = pkgs.linuxPackages_latest; + binfmt.registrations.appimage = { + wrapInterpreterInShell = false; + interpreter = "${pkgs.appimage-run}/bin/appimage-run"; + recognitionType = "magic"; + offset = 0; + mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff''; + magicOrExtension = ''\x7fELF....AI\x02''; + }; }; networking.hostName = "thilo-pc"; @@ -38,6 +46,9 @@ }; }; + programs.kdeconnect.enable = true; + programs.nix-ld.enable = true; + hardware.opengl = { extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl ]; }; diff --git a/flake.lock b/flake.lock index 86c06c8..ee6262b 100644 --- a/flake.lock +++ b/flake.lock @@ -28,11 +28,11 @@ "pre-commit-hooks": "pre-commit-hooks" }, "locked": { - "lastModified": 1708701802, - "narHash": "sha256-OvpkuB5Lx8eomwUgUT4s10fzbrDnPCtCsxOlZ63hYFI=", + "lastModified": 1709300857, + "narHash": "sha256-jkK99RiSt5YfLWj3kAQoB8OB3idxLTdT9kfo/wILbjw=", "owner": "cachix", "repo": "devenv", - "rev": "fa9a708e240c6174f9fc4c6eefbc6a89ce01c350", + "rev": "f0319af4f966fb8bc25c6429f4f2e097e79116c2", "type": "github" }, "original": {