Update pins and make Zed configuration
This commit is contained in:
Generated
+30
-30
@@ -74,11 +74,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750325256,
|
"lastModified": 1750618568,
|
||||||
"narHash": "sha256-vvlxGz/waqJ3TGqM/iqXbnEc7/R1qnEXmaBiPaQ1RE0=",
|
"narHash": "sha256-w9EG5FOXrjXGfbqCcQg9x1lMnTwzNDW5BMXp8ddy15E=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "0d71cbf88d63e938b37b85b3bf8b238bcf7b39b9",
|
"rev": "1dd19f19e4b53a1fd2e8e738a08dd5fe635ec7e5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -321,11 +321,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750304462,
|
"lastModified": 1750730235,
|
||||||
"narHash": "sha256-Mj5t4yX05/rXnRqJkpoLZTWqgStB88Mr/fegTRqyiWc=",
|
"narHash": "sha256-rZErlxiV7ssvI8t7sPrKU+fRigNc2KvoKZG3gtUtK50=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "863842639722dd12ae9e37ca83bcb61a63b36f6c",
|
"rev": "d07e9cceb4994ed64a22b9b36f8b76923e87ac38",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -363,11 +363,11 @@
|
|||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1749636823,
|
"lastModified": 1750684550,
|
||||||
"narHash": "sha256-WUaIlOlPLyPgz9be7fqWJA5iG6rHcGRtLERSCfUDne4=",
|
"narHash": "sha256-uLtw0iF9mQ94L831NOlQLPX9wm0qzd5yim3rcwACEoM=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "623c56286de5a3193aa38891a6991b28f9bab056",
|
"rev": "fae816c55a75675f30d18c9cbdecc13b970d95d4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -565,11 +565,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750365781,
|
"lastModified": 1750506804,
|
||||||
"narHash": "sha256-XE/lFNhz5lsriMm/yjXkvSZz5DfvKJLUjsS6pP8EC50=",
|
"narHash": "sha256-VLFNc4egNjovYVxDGyBYTrvVCgDYgENp5bVi9fPTDYc=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "08f22084e6085d19bcfb4be30d1ca76ecb96fe54",
|
"rev": "4206c4cb56751df534751b058295ea61357bbbaa",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -597,11 +597,11 @@
|
|||||||
},
|
},
|
||||||
"nixunstable": {
|
"nixunstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750365781,
|
"lastModified": 1750506804,
|
||||||
"narHash": "sha256-XE/lFNhz5lsriMm/yjXkvSZz5DfvKJLUjsS6pP8EC50=",
|
"narHash": "sha256-VLFNc4egNjovYVxDGyBYTrvVCgDYgENp5bVi9fPTDYc=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "08f22084e6085d19bcfb4be30d1ca76ecb96fe54",
|
"rev": "4206c4cb56751df534751b058295ea61357bbbaa",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -621,11 +621,11 @@
|
|||||||
"systems": "systems_4"
|
"systems": "systems_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750345447,
|
"lastModified": 1750691276,
|
||||||
"narHash": "sha256-yOuSSfI4xovXQpSkZUK02CBcY1f0Nvm0RhnUN8xn2rY=",
|
"narHash": "sha256-F507hXG4ORVpvuFeuoyDo/bmO/rR2PJRB7XhtDuBnBE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "6a1a348ab1f00bd32d2392b5c2fc72489c699af3",
|
"rev": "1f3e5741a927b5b0a983f08ab9d3bcf313bc141e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -642,11 +642,11 @@
|
|||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750538863,
|
"lastModified": 1750731829,
|
||||||
"narHash": "sha256-zabhNRMe/a16+QvrwtTqsfs915O3EYfxqOyHJyUSpRs=",
|
"narHash": "sha256-1UT2YgiY9MD0kuWkdnjR4UAKCeaIEME5dd8xMrvuSg8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "6bd3d204ea7b9ceba96011d2bcbfa2e07e2c93d5",
|
"rev": "cad648060595395298331aa99efe2f4acecfd6a0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -680,11 +680,11 @@
|
|||||||
},
|
},
|
||||||
"patched-nixpkgs": {
|
"patched-nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750323031,
|
"lastModified": 1750677113,
|
||||||
"narHash": "sha256-UBervAoXyQgWMLqN684fD5FMW4NsYdy5rqlJwMC1hd4=",
|
"narHash": "sha256-hOLEPjPscArQiPm4+EPuVuvcXX7uhIx18gLvXrDS/5k=",
|
||||||
"owner": "TomaSajt",
|
"owner": "TomaSajt",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "76ef3a6c51ed221a7ac29b50c94bb48589979be5",
|
"rev": "27a4b311a7ea290aa2504019c8693b7dace8dab5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -869,11 +869,11 @@
|
|||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750471394,
|
"lastModified": 1750730765,
|
||||||
"narHash": "sha256-IdOUn2DcabUAa42nthbyIY+frX42tTkU9KGddbpq5H4=",
|
"narHash": "sha256-MIcOcvxqAXUv2TJjf19aVXdtVrD8Gkcfi4W4pKkT0Lw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nix-vscode-extensions",
|
"repo": "nix-vscode-extensions",
|
||||||
"rev": "8368fd526c329cb83a00f9e3cbc35a89599d5ced",
|
"rev": "1a1442e13dc1730de0443f80dcf02658365e999a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -912,11 +912,11 @@
|
|||||||
"patched-nixpkgs": "patched-nixpkgs"
|
"patched-nixpkgs": "patched-nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750341075,
|
"lastModified": 1750686425,
|
||||||
"narHash": "sha256-/7jUMPTFaGLNAQETRhDCM8L7cjI1Q39ismxLcEG+sK0=",
|
"narHash": "sha256-8GK4ofgwZFfHxMv/2nDcnIbkDd+3O5qI96kgGx8iczA=",
|
||||||
"owner": "HPsaucii",
|
"owner": "HPsaucii",
|
||||||
"repo": "zed-editor-flake",
|
"repo": "zed-editor-flake",
|
||||||
"rev": "dbcdd13e513562d7cf4a0b2459fea16129f688e4",
|
"rev": "4e8e32b58f3095116dd9404f0ea030173626eb15",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
+55
-4
@@ -12,9 +12,60 @@ in
|
|||||||
options.greg.zed = lib.mkEnableOption "Whether to install the Zed editor";
|
options.greg.zed = lib.mkEnableOption "Whether to install the Zed editor";
|
||||||
|
|
||||||
config = lib.mkIf cfg {
|
config = lib.mkIf cfg {
|
||||||
home.packages = with pkgs; [
|
programs.zed-editor = {
|
||||||
nil
|
enable = true;
|
||||||
zed-editor
|
extensions = [
|
||||||
];
|
"ansible"
|
||||||
|
"cargo-tom"
|
||||||
|
"dockerfile"
|
||||||
|
"mcp-server-gitlab"
|
||||||
|
"helm"
|
||||||
|
"html"
|
||||||
|
"ini"
|
||||||
|
"jsonnet"
|
||||||
|
"latex"
|
||||||
|
"make"
|
||||||
|
"markdown-oxide"
|
||||||
|
"material-icon-theme"
|
||||||
|
"nix"
|
||||||
|
"nu"
|
||||||
|
"postgres-context-server"
|
||||||
|
"python-refactoring"
|
||||||
|
"slint"
|
||||||
|
"snippets"
|
||||||
|
"toml"
|
||||||
|
];
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
cargo
|
||||||
|
direnv
|
||||||
|
nil
|
||||||
|
nix
|
||||||
|
python3
|
||||||
|
rustc
|
||||||
|
];
|
||||||
|
installRemoteServer = true;
|
||||||
|
userKeymaps = [
|
||||||
|
{
|
||||||
|
}
|
||||||
|
];
|
||||||
|
userSettings = {
|
||||||
|
baseKeymap = "VSCode";
|
||||||
|
buffer_font_size = 16;
|
||||||
|
features = {
|
||||||
|
copilot = true;
|
||||||
|
};
|
||||||
|
relative_line_numbers = true;
|
||||||
|
telemetry = {
|
||||||
|
metrics = true;
|
||||||
|
};
|
||||||
|
theme = {
|
||||||
|
mode = "system";
|
||||||
|
light = "Gruvbox Dark";
|
||||||
|
dark = "One Dark";
|
||||||
|
};
|
||||||
|
vim_mode = true;
|
||||||
|
ui_font_size = 20;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user