From d38a51ae5c9f043aaf8d043d9f395d74f43fbd98 Mon Sep 17 00:00:00 2001 From: Nickolaj Jepsen Date: Sat, 13 Dec 2025 19:53:17 +0100 Subject: [PATCH] fix: flake check --- flake.nix | 1 - hosts/laptop/configuration.nix | 2 +- modules/desktop/niri.nix | 4 ++-- modules/programs/vscode.nix | 3 +++ 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 6198431..938f52c 100644 --- a/flake.nix +++ b/flake.nix @@ -10,7 +10,6 @@ ]; systems = [ "x86_64-linux" - "aarch64-linux" ]; }; diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index cd9a6f7..e996338 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -15,7 +15,7 @@ services.xserver.videoDrivers = ["nvidia"]; environment.systemPackages = [ - pkgs.glxinfo + pkgs.mesa-demos ]; hardware.nvidia = { diff --git a/modules/desktop/niri.nix b/modules/desktop/niri.nix index 5354a29..1c2e9b4 100644 --- a/modules/desktop/niri.nix +++ b/modules/desktop/niri.nix @@ -220,9 +220,9 @@ in { inherit (monitor) name; value = { inherit (monitor) position; - mode = { + mode = lib.mkIf (monitor.resolution.width != null && monitor.resolution.height != null) { inherit (monitor.resolution) width height; - refresh = monitor.refreshRateNiri or null; + refresh = monitor.refreshRateNiri; }; focus-at-startup = monitor.name == primaryMonitorName; transform.rotation = diff --git a/modules/programs/vscode.nix b/modules/programs/vscode.nix index 098e743..b093805 100644 --- a/modules/programs/vscode.nix +++ b/modules/programs/vscode.nix @@ -69,6 +69,9 @@ in { "github.copilot.nextEditSuggestions.enabled" = true; "githubPullRequests.codingAgent.uiIntegration" = true; "githubPullRequests.pullBranch" = "always"; + "chat.tools.terminal.autoApprove" = { + "nix" = true; + }; # Theme "workbench.colorTheme" = "Darcula Theme from IntelliJ";