toggle physics
This commit is contained in:
parent
44a2f3ee01
commit
e13ad6a8ee
13 changed files with 79 additions and 112 deletions
|
|
@ -5,33 +5,28 @@
|
|||
...
|
||||
}:
|
||||
|
||||
let
|
||||
enable_vscodium =
|
||||
if config.networking.hostName == "marty-pc" then
|
||||
true
|
||||
else if config.networking.hostName == "marty-latitude" then
|
||||
true
|
||||
else if config.networking.hostName == "marty-server" then
|
||||
false
|
||||
else
|
||||
false;
|
||||
in
|
||||
|
||||
{
|
||||
programs.vscode = {
|
||||
enable = enable_vscodium;
|
||||
package = pkgs.vscodium;
|
||||
defaultEditor = enable_vscodium;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
catppuccin.catppuccin-vsc
|
||||
catppuccin.catppuccin-vsc-icons
|
||||
jnoortheen.nix-ide
|
||||
alefragnani.project-manager
|
||||
naumovs.color-highlight
|
||||
geequlim.godot-tools
|
||||
stylelint.vscode-stylelint
|
||||
ecmel.vscode-html-css
|
||||
esbenp.prettier-vscode
|
||||
];
|
||||
options = {
|
||||
development = {
|
||||
vscodium.enable = lib.mkEnableOption "enable vscodium";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.development.vscodium.enable {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
profiles.default.extensions = with pkgs.vscode-extensions; [
|
||||
catppuccin.catppuccin-vsc
|
||||
catppuccin.catppuccin-vsc-icons
|
||||
jnoortheen.nix-ide
|
||||
alefragnani.project-manager
|
||||
naumovs.color-highlight
|
||||
geequlim.godot-tools
|
||||
stylelint.vscode-stylelint
|
||||
ecmel.vscode-html-css
|
||||
esbenp.prettier-vscode
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue