Commit 68248073bc69

Vincent Demeester <vincent@sbr.pm>
2025-10-20 11:39:48
home/ai: add copilot-cli
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 9048a3e
Changed files (3)
home/common/dev/ai.nix
@@ -1,4 +1,5 @@
 {
+  inputs,
   pkgs,
   ...
 }:
@@ -23,6 +24,7 @@
     # inputs.code-cursor-nix.packages.x86_64-linux.cursor
     # mcp-servers
     github-mcp-server
+    inputs.copilot-cli.packages.x86_64-linux.default
     amp
   ];
 
flake.lock
@@ -171,6 +171,26 @@
         "type": "github"
       }
     },
+    "copilot-cli": {
+      "inputs": {
+        "nixpkgs": [
+          "nixpkgs"
+        ]
+      },
+      "locked": {
+        "lastModified": 1760656494,
+        "narHash": "sha256-dV2GENO7EWyWVZM/AUN1Oz2c3DAZIbhtTYx1FJULS18=",
+        "owner": "scarisey",
+        "repo": "copilot-cli-flake",
+        "rev": "3d32161c912b1c926508d955b03575d45811e869",
+        "type": "github"
+      },
+      "original": {
+        "owner": "scarisey",
+        "repo": "copilot-cli-flake",
+        "type": "github"
+      }
+    },
     "crane": {
       "locked": {
         "lastModified": 1754269165,
@@ -1088,6 +1108,7 @@
         "chick-group": "chick-group",
         "claude-code": "claude-code",
         "code-cursor-nix": "code-cursor-nix",
+        "copilot-cli": "copilot-cli",
         "dagger": "dagger",
         "disko": "disko",
         "emacs-overlay": "emacs-overlay",
flake.nix
@@ -100,52 +100,6 @@
           hostname = "nagoya";
           hardwareType = "rpi4"; # to disable tpm2 TODO find a better way
         };
-        # nagoya = inputs.nixos-raspberrypi.lib.nixosSystem {
-        #   specialArgs = inputs;
-        #   modules = [
-        #     (
-        #       { ... }:
-        #       {
-        #         imports = with inputs.nixos-raspberrypi.nixosModules; [
-        #           raspberry-pi-5.base
-        #           raspberry-pi-5.bluetooth
-        #         ];
-        #       }
-        #     )
-        #     (_: {
-        #       networking.hostName = "nagoya";
-        #       users.users.yourUserName = {
-        #         initialPassword = "yourInitialPassword";
-        #         isNormalUser = true;
-        #         extraGroups = [
-        #           "wheel"
-        #         ];
-        #       };
-        #
-        #       services.openssh.enable = true;
-        #     })
-        #
-        #     (_: {
-        #       fileSystems = {
-        #         "/boot/firmware" = {
-        #           device = "/dev/disk/by-uuid/2175-794E";
-        #           fsType = "vfat";
-        #           options = [
-        #             "noatime"
-        #             "noauto"
-        #             "x-systemd.automount"
-        #             "x-systemd.idle-timeout=1min"
-        #           ];
-        #         };
-        #         "/" = {
-        #           device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
-        #           fsType = "ext4";
-        #           options = [ "noatime" ];
-        #         };
-        #       };
-        #     })
-        #   ];
-        # };
         sakhalin = libx.mkHost {
           hostname = "sakhalin";
           pkgsInput = inputs.nixpkgs-25_05;
@@ -385,5 +339,8 @@
 
     claude-code.url = "github:sadjow/claude-code-nix";
     claude-code.inputs.nixpkgs.follows = "nixpkgs";
+
+    copilot-cli.url = "github:scarisey/copilot-cli-flake";
+    copilot-cli.inputs.nixpkgs.follows = "nixpkgs";
   };
 }