Compare commits
2 Commits
e8599dd250
...
5f2c19346c
| Author | SHA1 | Date | |
|---|---|---|---|
| 5f2c19346c | |||
| 86b48a65c7 |
42
flake.lock
generated
42
flake.lock
generated
@@ -108,11 +108,11 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753201456,
|
"lastModified": 1753960904,
|
||||||
"narHash": "sha256-dwx5SvXyo7bd8sR4qe4kAKVmoYDKrGDeLymMoR6rObY=",
|
"narHash": "sha256-TmE3Js0sfe6k+QHxfSjlHUvGsZA1ULTHhdS/QRub7CY=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "devenv",
|
"repo": "devenv",
|
||||||
"rev": "39662b2c5b94ad06573c9aac4fe9f671260d1587",
|
"rev": "820d57bd5494201af2205bf84b231cce1190471c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -356,11 +356,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753288231,
|
"lastModified": 1753592768,
|
||||||
"narHash": "sha256-WcMW9yUDfER8kz4NdCaaI/ep0Ef91L+Nf7MetNzHZc4=",
|
"narHash": "sha256-oV695RvbAE4+R9pcsT9shmp6zE/+IZe6evHWX63f2Qg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "7b5a978e00273b8676c530c03d315f5b75fae564",
|
"rev": "fc3add429f21450359369af74c2375cb34a2d204",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -435,11 +435,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753236771,
|
"lastModified": 1753928075,
|
||||||
"narHash": "sha256-lQ+lOB8b1Awwd1p4zwqqgu+Fs50PKp1AM2f7zoUdyxE=",
|
"narHash": "sha256-GiYailXbRD+Mb42lC6ExUIbut6D+bK1rKp6WPR7No3o=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nix4vscode",
|
"repo": "nix4vscode",
|
||||||
"rev": "198e14fa2c4d6eebd33a91886cc2a5b849f92150",
|
"rev": "2eb803b3f2ef728a509559c7512b961f546cd077",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -514,11 +514,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752950548,
|
"lastModified": 1753694789,
|
||||||
"narHash": "sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc=",
|
"narHash": "sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c87b95e25065c028d31a94f06a62927d18763fdf",
|
"rev": "dc9637876d0dcc8c9e5e22986b857632effeb727",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -530,11 +530,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753115646,
|
"lastModified": 1753749649,
|
||||||
"narHash": "sha256-yLuz5cz5Z+sn8DRAfNkrd2Z1cV6DaYO9JMrEz4KZo/c=",
|
"narHash": "sha256-+jkEZxs7bfOKfBIk430K+tK9IvXlwzqQQnppC2ZKFj4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "92c2e04a475523e723c67ef872d8037379073681",
|
"rev": "1f08a4df998e21f4e8be8fb6fbf61d11a1a5076a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -631,11 +631,11 @@
|
|||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753237218,
|
"lastModified": 1753921619,
|
||||||
"narHash": "sha256-DtXr03z/SrNZBPUVUdhL+VM356TZRbJLoyxDx+z0j+s=",
|
"narHash": "sha256-XAXQZYm/Cyj2PYER+N6K0YlkZsBF5sPpYoylQLLE6d0=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "7a60ccb4e664c81cf9db71436cbd7a14b8164f30",
|
"rev": "3e500983c46d88ab36aa2f971bca13cba966a011",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -789,11 +789,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753069499,
|
"lastModified": 1753933355,
|
||||||
"narHash": "sha256-YtgY0ueqKNrBma4Euu8WH23BhUkBujirJDMDE1KujnU=",
|
"narHash": "sha256-4QxMcKS6oc+cG8efwwAin4M+YOokBak1dVS8u5P3b5M=",
|
||||||
"owner": "0xc000022070",
|
"owner": "0xc000022070",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "c64b94235ae24e3b9e01a08f0331d8bb0e5b037a",
|
"rev": "fa795a139a8c92b140bc21f11f61da1c97ad5b1d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -24,4 +24,18 @@
|
|||||||
".direnv"
|
".direnv"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
gh
|
||||||
|
];
|
||||||
|
|
||||||
|
home.file.".config/gh-copilot/config.yml".text = lib.generators.toYAML {} {
|
||||||
|
optional_analytics = false;
|
||||||
|
suggest_execute_confirm_default = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.shellAliases = {
|
||||||
|
copilot-suggest = "gh copilot suggest";
|
||||||
|
copilot-explain = "gh copilot explain";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,4 +19,29 @@
|
|||||||
# Add more Copilot-specific settings as needed
|
# Add more Copilot-specific settings as needed
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# Playwright support for NixOS (see https://nixos.wiki/wiki/Playwright)
|
||||||
|
home.packages = [
|
||||||
|
pkgs.playwright-driver.browsers
|
||||||
|
];
|
||||||
|
# Set Playwright environment variables globally for the user
|
||||||
|
home.sessionVariables = {
|
||||||
|
PLAYWRIGHT_BROWSERS_PATH = "${pkgs.playwright-driver.browsers}";
|
||||||
|
PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS = "true";
|
||||||
|
PLAYWRIGHT_NODEJS_PATH = "${pkgs.nodejs}/bin/node";
|
||||||
|
# Replace 'chromium-rev' with the actual revision if needed
|
||||||
|
PLAYWRIGHT_LAUNCH_OPTIONS_EXECUTABLE_PATH = "${pkgs.playwright-driver.browsers}/chromium-<chromium-rev>/chrome-linux/chrome";
|
||||||
|
};
|
||||||
|
# Deploy mcp.json to ~/.config/Code/User/mcp.json using toJSON
|
||||||
|
home.file.".config/Code/User/mcp.json" = {
|
||||||
|
text = builtins.toJSON {
|
||||||
|
servers = {
|
||||||
|
context7 = {
|
||||||
|
type = "stdio";
|
||||||
|
command = "bun";
|
||||||
|
args = ["x" "-y" "@upstash/context7-mcp"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
inputs = [];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,25 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
programs.zed-editor = {
|
programs.zed-editor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
extensions = [
|
||||||
|
"context7.context7"
|
||||||
|
];
|
||||||
|
userSettings = {
|
||||||
|
agent = {
|
||||||
|
default_model = {
|
||||||
|
provider = "copilot_chat";
|
||||||
|
model = "gpt-4.1";
|
||||||
|
};
|
||||||
|
inline_alternatives = [
|
||||||
|
{
|
||||||
|
provider = "copilot_chat";
|
||||||
|
model = "gpt-4.1";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
features = {
|
||||||
|
edit_prediction_provider = "copilot";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user