Compare commits
11
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0266dd19d8 | ||
|
|
4668a566ae | ||
|
|
f81a746ccc | ||
|
|
c66e751738 | ||
|
|
6c1074e3fd | ||
|
|
63360dd275 | ||
|
|
c8c49bb238 | ||
|
|
b4ef190034 | ||
|
|
010031b3d8 | ||
|
|
a1b6ccec7d | ||
|
|
5bfee98cc8 |
No files matched your search
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"mkhl.direnv"
|
||||
]
|
||||
},
|
||||
"zed": {
|
||||
"extensions": []
|
||||
}
|
||||
},
|
||||
"image": "ghcr.io/cachix/devenv/devcontainer:latest",
|
||||
"overrideCommand": false,
|
||||
"updateContentCommand": "devenv test"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
eval "$(devenv direnvrc)"
|
||||
|
||||
# You can pass flags to the devenv command
|
||||
# For example: use devenv --impure --option services.postgres.enable:bool true
|
||||
use devenv
|
||||
+15
-37
@@ -3,11 +3,11 @@
|
||||
"devenv": {
|
||||
"locked": {
|
||||
"dir": "src/modules",
|
||||
"lastModified": 1781800860,
|
||||
"narHash": "sha256-LrEo0eC5ckMvjpBRCuk5q5/vjItKlxnb4n/clHNRZlk=",
|
||||
"lastModified": 1787244866,
|
||||
"narHash": "sha256-yRtH4Vs49zZE+u3CR1iBs6jTUp1o/4SdCyshZ5+ojbw=",
|
||||
"owner": "cachix",
|
||||
"repo": "devenv",
|
||||
"rev": "d59d872d80876d9eeb3e214d3b088bc4a14a9c4f",
|
||||
"rev": "4b10b32036245a13efdb0d77d69d6990d1c8a3f5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -36,17 +36,16 @@
|
||||
"git-hooks": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"gitignore": "gitignore",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1781733627,
|
||||
"narHash": "sha256-U3yTuGBnmXvXoQI3qkpfEDsn9RovQPAjN7ndRco+3u0=",
|
||||
"lastModified": 1784288435,
|
||||
"narHash": "sha256-ReRHaLgr/uVqdD8afFSn+myXIfpHeOhP0yYe0TJqAA8=",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "3bbec39bc90eadfa031e6f3b77272f3f60803e39",
|
||||
"rev": "43b3c1ab9d40fb1dbb008f451988a91e375825e9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -55,37 +54,16 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gitignore": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"git-hooks",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1709087332,
|
||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"inputs": {
|
||||
"nixpkgs-src": "nixpkgs-src"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1781620901,
|
||||
"narHash": "sha256-UF6scQlG+6lRkZBUpn/3KNavhOo5G8kDWhjVHcno8uc=",
|
||||
"lastModified": 1787002832,
|
||||
"narHash": "sha256-DGkHh88/7YLVGZ7HzSVN4YmUmR+wGKudIp6H9UsUNT0=",
|
||||
"owner": "cachix",
|
||||
"repo": "devenv-nixpkgs",
|
||||
"rev": "2df109b343d3c68efd752e32a444a1d9b9f89afa",
|
||||
"rev": "ee3d58d53cfcddfc0ae6fc7f04f4fe2a0c7cf0ed",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -98,11 +76,11 @@
|
||||
"nixpkgs-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1781454065,
|
||||
"narHash": "sha256-d2xfDjnfRuf/xYGdu9VVRHiav/2w5hDL/5cw2TuVAXw=",
|
||||
"lastModified": 1786858016,
|
||||
"narHash": "sha256-Vczr2zxD0orq6N2QQe5uqOGF7TRDcQJRRuAcsdHr4kg=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9eac87a12312b8f60dd52e1c6e1a265f6fc7f5fc",
|
||||
"rev": "54ba4bcec4043e72a4006d825e0d7aff5562008f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -127,11 +105,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1780220602,
|
||||
"narHash": "sha256-eynAfOmbmxJnkp7YewvCEbShNnnYJ9gLLqkzsYtBPeM=",
|
||||
"lastModified": 1786901030,
|
||||
"narHash": "sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "db947814a175b7ca6ded66e21383d938df01c227",
|
||||
"rev": "27b3b12a8e6375f28ebe122f07d230ca5459bbfa",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
}:
|
||||
|
||||
{
|
||||
devcontainer.enable = true;
|
||||
|
||||
treefmt.enable = true;
|
||||
|
||||
treefmt.config.programs.nixpkgs-fmt.enable = true;
|
||||
|
||||
Generated
+9
-9
@@ -7,11 +7,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1784350909,
|
||||
"narHash": "sha256-ZWyzLbS1yKUTeFJLmdVuWNnHttL333/ldJbEE+KzCrM=",
|
||||
"lastModified": 1788642154,
|
||||
"narHash": "sha256-sPpQFVaFTDqO/4vvCAhuAhqTgqN/ygu+9eJcs5eB0js=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "4ce190229c73d44536caa7072f6308fb2d8feeb3",
|
||||
"rev": "fd0956c99c41ae3c13a73a638f1f7e963aebc4ab",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -38,11 +38,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1784432872,
|
||||
"narHash": "sha256-n3gKTBIV4ZA5VQpUakffBe3KGu4+mhPoA34rrqS0GkA=",
|
||||
"lastModified": 1788690626,
|
||||
"narHash": "sha256-+v4I4LawmRD/mVxO7QIAerRrCkElp3YImzWkkUnvOTg=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "fd1462031fdee08f65fd0b4c6b64e22239a77870",
|
||||
"rev": "c25784012c9982bca5b3e0de87e90bbdac8927d3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -54,11 +54,11 @@
|
||||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1784555310,
|
||||
"narHash": "sha256-/FCliTPgiuV1owejZFNx3Ch9irdvkOfOFl+HHZ+DrtM=",
|
||||
"lastModified": 1788608636,
|
||||
"narHash": "sha256-RqeFOwW329f4i1f5QlJgQYwgEZvxIHJsUYlzIBxsKsY=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "421eebfd0ec7bccd4abe826ce62d7e6e83129493",
|
||||
"rev": "0af3d1402dec3fc7e93635e511d1f7428c89cebf",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
../../modules/vlc.nix
|
||||
../../modules/lazygit.nix
|
||||
../../modules/yazi.nix
|
||||
../../modules/bubblewrap.nix
|
||||
../../modules/socat.nix
|
||||
];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
bubblewrap
|
||||
];
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
extraPackages = [
|
||||
pkgs.ueberzugpp
|
||||
pkgs.imagemagick
|
||||
pkgs.intelephense
|
||||
];
|
||||
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
|
||||
@@ -8,21 +8,60 @@ let
|
||||
mkhl.direnv
|
||||
catppuccin.catppuccin-vsc
|
||||
bmewburn.vscode-intelephense-client
|
||||
continue.continue
|
||||
vue.volar
|
||||
ms-vscode-remote.remote-containers
|
||||
(pkgs.vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
publisher = "ryanluker";
|
||||
name = "vscode-coverage-gutters";
|
||||
version = "2.14.0"; # use the current version
|
||||
sha256 = "sha256-waF3FmncUsXqWFWGRy9X7RQ29BDRYlaqyFhEXg4HXNo";
|
||||
};
|
||||
})
|
||||
(pkgs.vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
publisher = "laravel";
|
||||
name = "vscode-laravel";
|
||||
version = "1.7.0"; # use the current version
|
||||
sha256 = "sha256-5PVbv5hWIdsOHvYttnf2BPeqfPXsOVENrnRyiUf/Hlg=";
|
||||
};
|
||||
})
|
||||
(pkgs.vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
publisher = "amiralizadeh9480";
|
||||
name = "laravel-extra-intellisense";
|
||||
version = "0.7.4"; # use the current version
|
||||
sha256 = "sha256-EoyKm2YYfEZDmI1mqRU/SaNk0bNLPrWVINpIhglnL80=";
|
||||
};
|
||||
})
|
||||
(pkgs.vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
publisher = "recca0120";
|
||||
name = "vscode-phpunit";
|
||||
version = "3.9.40"; # use the current version
|
||||
sha256 = "sha256-EVyDT5aXu1KsGr8xrBQlIRCMOtiCyHgU7aDjl9d9ldY=";
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
userSettings = {
|
||||
"editor.lineNumbers" = "relative";
|
||||
"workbench.colorTheme" = "Catppuccin Mocha";
|
||||
"workbench.editor.enablePreview" = false;
|
||||
"workbench.activityBar.orientation" = "vertical";
|
||||
"direnv.restart.automatic" = true;
|
||||
|
||||
"terminal.integrated.defaultProfile.linux" = "zsh";
|
||||
"terminal.integrated.profiles.linux".zsh = {
|
||||
path = "${pkgs.zsh}/bin/zsh";
|
||||
};
|
||||
# PHPUnit
|
||||
"phpunit.command" =
|
||||
"docker compose exec laravel.test \${php} \${phpargs} \${phpunit} \${phpunitargs}";
|
||||
"phpunit.phpunit" = "artisan test";
|
||||
"phpunit.paths" = {
|
||||
"\${workspaceFolder}" = "/var/www/html";
|
||||
};
|
||||
"LaravelExtraIntellisense.basePathForCode" = "/var/www/html";
|
||||
};
|
||||
|
||||
editors = {
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
socat
|
||||
];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user