mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-10 12:50:05 +00:00
feat(modules): add server archetype
feat: WIP add "absolutesolver" system and "cyn" user *wink wink* refactor: clean up some comments and remove empty lines
This commit is contained in:
parent
0c1476ce83
commit
57d067d501
10 changed files with 111 additions and 29 deletions
26
modules/home/apps/development/zed-editor/default.nix
Normal file
26
modules/home/apps/development/zed-editor/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
namespace,
|
||||
config,
|
||||
...
|
||||
}: with lib; with lib.${namespace};
|
||||
let
|
||||
cfg = config.${namespace}.apps.development.zed-editor;
|
||||
|
||||
zed-fhs = pkgs.buildFHSUserEnv {
|
||||
name = "zed";
|
||||
targetPkgs = pkgs:
|
||||
with pkgs; [
|
||||
zed-editor
|
||||
];
|
||||
runScript = "zed";
|
||||
};
|
||||
in {
|
||||
options.${namespace}.apps.zed-editor = { enable = mkEnableOption "zed-editor"; };
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = [zed-fhs];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue