From d159c3a9f1f9c25d6aaeca6e59baf12ee748f410 Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Sun, 2 Nov 2025 20:47:31 +0000 Subject: [PATCH] up --- flake.lock | 12 ++++++------ flake.nix | 2 +- modules/darwin/system.nix | 2 +- modules/home/neovim/default.nix | 1 + modules/home/neovim/plugins/copilot.nix | 12 ++++++++++++ 5 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 modules/home/neovim/plugins/copilot.nix diff --git a/flake.lock b/flake.lock index 59e6c86..d4b19c5 100644 --- a/flake.lock +++ b/flake.lock @@ -228,16 +228,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1762080814, - "narHash": "sha256-KDLc5obvhY4Ro7jetav3XYfYBX704j+T1ImGXFzHFIU=", - "owner": "nixos", + "lastModified": 1762094371, + "narHash": "sha256-Cz97IuTvpjh+57ZWX4jeNZ01WWOPCsDJ/YkJwKkBhvg=", + "owner": "delafthi", "repo": "nixpkgs", - "rev": "3f22659254df725d91db50d01ee8ffab38e6aece", + "rev": "2cbd945b39532fd1d5ce1b9314dae12bfbae75a1", "type": "github" }, "original": { - "owner": "nixos", - "ref": "master", + "owner": "delafthi", + "ref": "push-lmyskwyrymrq", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 2ec6dd6..160a01b 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "Configuration for my macOS laptops and NixOS server"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/master"; + nixpkgs.url = "github:delafthi/nixpkgs/push-lmyskwyrymrq"; flake-parts.url = "github:hercules-ci/flake-parts"; sops-nix = { url = "github:Mic92/sops-nix"; diff --git a/modules/darwin/system.nix b/modules/darwin/system.nix index 73d4046..29c0b04 100644 --- a/modules/darwin/system.nix +++ b/modules/darwin/system.nix @@ -1,7 +1,7 @@ { system.defaults = { NSGlobalDomain = { - AppleInterfaceStyle = "Dark"; + AppleInterfaceStyle = "Light"; AppleShowAllExtensions = true; ApplePressAndHoldEnabled = false; KeyRepeat = 2; diff --git a/modules/home/neovim/default.nix b/modules/home/neovim/default.nix index 48e2faa..7ee5a55 100644 --- a/modules/home/neovim/default.nix +++ b/modules/home/neovim/default.nix @@ -5,6 +5,7 @@ ./options.nix ./plugins/blink-cmp.nix ./plugins/conform.nix + ./plugins/copilot.nix ./plugins/diffview.nix ./plugins/grug-far.nix ./plugins/harpoon.nix diff --git a/modules/home/neovim/plugins/copilot.nix b/modules/home/neovim/plugins/copilot.nix new file mode 100644 index 0000000..28e6e4b --- /dev/null +++ b/modules/home/neovim/plugins/copilot.nix @@ -0,0 +1,12 @@ +{ + programs.nixvim.plugins.copilot-lua = { + enable = true; + settings = { + panel.enabled = false; + suggestion = { + enabled = true; + auto_trigger = true; + }; + }; + }; +}