tangled
alpha
login
or
join now
thecoded.prof
/
CMU
0
fork
atom
CMU Coding Bootcamp
0
fork
atom
overview
issues
pulls
pipelines
feat: new shell for HTML
thecoded.prof
4 months ago
20d13211
c69c17c6
verified
This commit was signed with the committer's
known signature
.
thecoded.prof
SSH Key Fingerprint:
SHA256:ePn0u8NlJyz3J4Zl9MHOYW3f4XKoi5K1I4j53bwpG0U=
+14
-3
1 changed file
expand all
collapse all
unified
split
nilla.nix
+14
-3
nilla.nix
···
56
56
57
57
};
58
58
};
59
59
-
shells.default = config.shells.ts;
59
59
+
shells.default = config.shells.html;
60
60
shells.python = {
61
61
# Declare what systems the shell can be used on.
62
62
systems = [ "x86_64-linux" ];
···
123
123
];
124
124
};
125
125
};
126
126
-
shells.none = {
126
126
+
shells.html = {
127
127
systems = [ "x86_64-linux" ];
128
128
129
129
shell =
130
130
{
131
131
+
pkgs,
131
132
mkShell,
132
133
}:
133
134
mkShell {
134
135
shellHook = ''
135
135
-
echo "hello"
136
136
+
unset TMPDIR
137
137
+
serve() {
138
138
+
live-server /home/coded/Programming/CMU/html --port 5000
139
139
+
}
140
140
+
export -f serve
136
141
'';
142
142
+
packages = [
143
143
+
pkgs.emmet-language-server
144
144
+
pkgs.nixd
145
145
+
pkgs.nil
146
146
+
pkgs.nodePackages.live-server
147
147
+
];
137
148
};
138
149
};
139
150
};