From e78a1ac76869e00b92d9691c95fd0134f1661633 Mon Sep 17 00:00:00 2001 From: Felix Schneider <99918022+trueberryless@users.noreply.github.com> Date: Thu, 16 Apr 2026 09:09:13 +0200 Subject: [PATCH] feat: copilot-cli, other stuff --- dotfiles/zed/settings.json | 2 +- flake.lock | 37 ++++++++++++++++++++++++++++++++++++- flake.nix | 3 ++- modules/apps.nix | 11 +++++++---- 4 files changed, 46 insertions(+), 7 deletions(-) diff --git a/dotfiles/zed/settings.json b/dotfiles/zed/settings.json index 6eaed8c..910999b 100644 --- a/dotfiles/zed/settings.json +++ b/dotfiles/zed/settings.json @@ -15,7 +15,7 @@ "theme": { "mode": "system", "light": "Catppuccin Mocha", - "dark": "One Dark" + "dark": "One Dark", }, "show_edit_predictions": false, "show_completions_on_input": false, diff --git a/flake.lock b/flake.lock index 02ab382..2d7d104 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,23 @@ { "nodes": { + "copilot-cli": { + "inputs": { + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1775777700, + "narHash": "sha256-99TslWBRmZIc2XZazkzJbDCM8chvAtjpC7/4qpBHhBg=", + "owner": "scarisey", + "repo": "copilot-cli-flake", + "rev": "0f95b9bf968832f8e3e7af5181dedd080f3ec9e6", + "type": "github" + }, + "original": { + "owner": "scarisey", + "repo": "copilot-cli-flake", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -43,6 +61,22 @@ } }, "nixpkgs": { + "locked": { + "lastModified": 1775423009, + "narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { "locked": { "lastModified": 1772956932, "narHash": "sha256-M0yS4AafhKxPPmOHGqIV0iKxgNO8bHDWdl1kOwGBwRY=", @@ -60,9 +94,10 @@ }, "root": { "inputs": { + "copilot-cli": "copilot-cli", "home-manager": "home-manager", "nix-darwin": "nix-darwin", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs_2" } } }, diff --git a/flake.nix b/flake.nix index fec2274..7d47f35 100644 --- a/flake.nix +++ b/flake.nix @@ -11,9 +11,10 @@ url = "github:nix-community/home-manager/master"; inputs.nixpkgs.follows = "nixpkgs"; }; + copilot-cli.url = "github:scarisey/copilot-cli-flake"; }; - outputs = inputs @ { self, nixpkgs, nix-darwin, home-manager }: + outputs = inputs @ { self, nixpkgs, nix-darwin, home-manager, copilot-cli }: let system = "aarch64-darwin"; username = "trueberryless"; diff --git a/modules/apps.nix b/modules/apps.nix index 9b86082..d758007 100644 --- a/modules/apps.nix +++ b/modules/apps.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, copilot-cli, system, ... }: let devShellPaths = [ ./shells/go.nix @@ -11,9 +11,10 @@ in { aldente bitwarden-desktop discord - docker eza + fastfetch git + go google-chrome iproute2mac iterm2 @@ -23,14 +24,16 @@ in { nixd oh-my-posh postman + podman raycast tmux tree vscode zed-editor zoxide - ]) ++ devShells; + ]) + ++ [ copilot-cli.packages.${system}.default ] + ++ devShells; - # Allow unfree packages nixpkgs.config.allowUnfree = true; } -- 2.51.2