mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: starting to install zed
This commit is contained in:
parent
9ef7554967
commit
616ce7fbca
6 changed files with 102 additions and 1 deletions
77
flake.lock
generated
77
flake.lock
generated
|
@ -93,6 +93,21 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"crane_3": {
|
||||
"locked": {
|
||||
"lastModified": 1736566337,
|
||||
"narHash": "sha256-SC0eDcZPqISVt6R0UfGPyQLrI0+BppjjtQ3wcSlk0oI=",
|
||||
"owner": "ipetkov",
|
||||
"repo": "crane",
|
||||
"rev": "9172acc1ee6c7e1cbafc3044ff850c568c75a5a3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "ipetkov",
|
||||
"repo": "crane",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"direnv": {
|
||||
"inputs": {
|
||||
"gomod2nix": "gomod2nix",
|
||||
|
@ -299,6 +314,21 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat_8": {
|
||||
"locked": {
|
||||
"lastModified": 1733328505,
|
||||
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
|
@ -1458,7 +1488,8 @@
|
|||
"systems": "systems_10",
|
||||
"waybar": "waybar",
|
||||
"wpaperd": "wpaperd",
|
||||
"yazi": "yazi"
|
||||
"yazi": "yazi",
|
||||
"zed": "zed"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
|
@ -1524,6 +1555,27 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"rust-overlay_4": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"zed",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1736700680,
|
||||
"narHash": "sha256-9gmWIb8xsycWHEYpd2SiVIAZnUULX6Y+IMMZBcDUCQU=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "5d1865c0da63b4c949f383d982b6b43519946e8f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"slimlock": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -1915,6 +1967,29 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"zed": {
|
||||
"inputs": {
|
||||
"crane": "crane_3",
|
||||
"flake-compat": "flake-compat_8",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-overlay": "rust-overlay_4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1736689464,
|
||||
"narHash": "sha256-6XTiX+xlqXyWEwOIMV8ALakU2V74/IU1Dv1D8+3xMT0=",
|
||||
"owner": "zed-industries",
|
||||
"repo": "zed",
|
||||
"rev": "fb650444846a2e08a97ab2ddbc9ea541ce263904",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "zed-industries",
|
||||
"repo": "zed",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"zig": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
|
|
|
@ -67,6 +67,10 @@
|
|||
url = "github:direnv/direnv";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
zed = {
|
||||
url = "github:zed-industries/zed";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs:
|
||||
|
|
1
home/modules/zed/config/extensions.nix
Normal file
1
home/modules/zed/config/extensions.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
1
home/modules/zed/config/userKeymap.nix
Normal file
1
home/modules/zed/config/userKeymap.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
1
home/modules/zed/config/userSettings.nix
Normal file
1
home/modules/zed/config/userSettings.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
19
home/modules/zed/default.nix
Normal file
19
home/modules/zed/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
flake,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
configPath = ./config;
|
||||
extensionsPath = import (configPath + /extensions.nix);
|
||||
userKeymapsPath = import (configPath + /userKeymaps.nix);
|
||||
userSettingsPath = import (configPath + /userSettings.nix);
|
||||
packagePath = flake.inputs.zed.packages.${pkgs.system}.zed;
|
||||
in {
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
package = packagePath;
|
||||
extensions = extensionsPath;
|
||||
userKeymaps = userKeymapsPath;
|
||||
userSettings = userSettingsPath;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue