all repos — nixfiles @ 1370e8edf2f5da612c0a5e57b15d57b88f21d41d

System and user configuration, managed by nix and home-manager

Move and split javascript module to dev/javascript,web
Alan Pearce alan@alanpearce.eu
Fri, 19 Mar 2021 21:47:49 +0100
commit

1370e8edf2f5da612c0a5e57b15d57b88f21d41d

parent

c733f3ba61cac64e0110747c569b46f8a0c30027

M user/mba.nixuser/mba.nix
@@ -6,13 +6,14 @@ ../private 
     ./settings/base.nix
     ./settings/development/base.nix
+    ./settings/development/javascript.nix
+    ./settings/development/web.nix
     ./settings/accounting.nix
     ./settings/darwin.nix
     ./settings/emacs.nix
     ./settings/git.nix
     ./settings/gnupg.nix
     ./settings/golang.nix
-    ./settings/javascript.nix
     ./settings/ledger.nix
     ./settings/nixpkgs.nix
     ./settings/satoshipay.nix
M user/prefect.nixuser/prefect.nix
@@ -8,11 +8,12 @@ ./settings/dunst.nix     ./settings/emacs.nix
     ./settings/development/base.nix
     ./settings/development/lisp.nix
+    ./settings/development/javascript.nix
+    ./settings/development/web.nix
     ./settings/gaming.nix
     ./settings/git.nix
     ./settings/gnupg.nix
     ./settings/i3.nix
-    ./settings/javascript.nix
     ./settings/music.nix
     ./settings/nixos.nix
     ./settings/rofi.nix
M user/satoshipad.nixuser/satoshipad.nix
@@ -7,12 +7,13 @@     ./settings/base.nix
     ./settings/chat.nix
     ./settings/development/base.nix
+    ./settings/development/javascript.nix
+    ./settings/development/web.nix
     ./settings/dunst.nix
     ./settings/emacs.nix
     ./settings/git.nix
     ./settings/gnupg.nix
     ./settings/i3.nix
-    ./settings/javascript.nix
     ./settings/mail.nix
     ./settings/music.nix
     ./settings/nixos.nix
A user/settings/development/web.nix
@@ -0,0 +1,9 @@+{ config, pkgs, ... }:
+{
+  home.packages = with pkgs.nodePackages; [
+    vscode-css-languageserver-bin
+    vscode-html-languageserver-bin
+    csslint
+  ] ++ (with pkgs.node2nixPackages; [
+    stylelint
+  ]) ;
M user/settings/javascript.nixuser/settings/development/javascript.nix
@@ -30,9 +30,6 @@ node2nix     nodemon
     javascript-typescript-langserver
     typescript-language-server
-    vscode-css-languageserver-bin
-    vscode-html-languageserver-bin
-    csslint
     eslint_d
     typescript
 
@@ -41,8 +38,6 @@ node-gyp-build     node-pre-gyp
   ]) ++ (with pkgs.node2nixPackages; [
     pkgs.node2nixPackages."pnpm-5.17.3"
-
-    stylelint
 
     pino-pretty
   ]);
M user/settings/satoshipay.nixuser/settings/satoshipay.nix
@@ -8,7 +8,8 @@ }; in
 {
   imports = [
-    ./javascript.nix
+    ./development/javascript.nix
+    ./development/web.nix
   ];
 
   home.sessionVariables = {