summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2021-03-19 21:47:49 +0100
committerAlan Pearce2021-03-19 21:47:49 +0100
commit1370e8edf2f5da612c0a5e57b15d57b88f21d41d (patch)
treed103f296bec466be32e02ad622728390bebee52f /user/settings
parentc733f3ba61cac64e0110747c569b46f8a0c30027 (diff)
downloadnixfiles-1370e8edf2f5da612c0a5e57b15d57b88f21d41d.tar.lz
nixfiles-1370e8edf2f5da612c0a5e57b15d57b88f21d41d.tar.zst
nixfiles-1370e8edf2f5da612c0a5e57b15d57b88f21d41d.zip
Move and split javascript module to dev/javascript,web
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/development/javascript.nix (renamed from user/settings/javascript.nix)5
-rw-r--r--user/settings/development/web.nix9
-rw-r--r--user/settings/satoshipay.nix3
3 files changed, 11 insertions, 6 deletions
diff --git a/user/settings/javascript.nix b/user/settings/development/javascript.nix
index 1ca1a1ba..93e82a4a 100644
--- a/user/settings/javascript.nix
+++ b/user/settings/development/javascript.nix
@@ -30,9 +30,6 @@ in
     nodemon
     javascript-typescript-langserver
     typescript-language-server
-    vscode-css-languageserver-bin
-    vscode-html-languageserver-bin
-    csslint
     eslint_d
     typescript
 
@@ -42,8 +39,6 @@ in
   ]) ++ (with pkgs.node2nixPackages; [
     pkgs.node2nixPackages."pnpm-5.17.3"
 
-    stylelint
-
     pino-pretty
   ]);
 
diff --git a/user/settings/development/web.nix b/user/settings/development/web.nix
new file mode 100644
index 00000000..2af4c361
--- /dev/null
+++ b/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
+  ]) ;
diff --git a/user/settings/satoshipay.nix b/user/settings/satoshipay.nix
index c1b0f0ec..56fa1041 100644
--- a/user/settings/satoshipay.nix
+++ b/user/settings/satoshipay.nix
@@ -8,7 +8,8 @@ let
 in
 {
   imports = [
-    ./javascript.nix
+    ./development/javascript.nix
+    ./development/web.nix
   ];
 
   home.sessionVariables = {