added stuff
This commit is contained in:
parent
e8d9044d2b
commit
9d0ebdfbd0
907 changed files with 70990 additions and 0 deletions
28
nyx/homes/notashelf/services/wayland/ags/shell.nix
Normal file
28
nyx/homes/notashelf/services/wayland/ags/shell.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{pkgs ? import <nixpkgs> {}}: let
|
||||
# trivial builders
|
||||
inherit (pkgs) mkShell writeShellScriptBin;
|
||||
in
|
||||
mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
nodejs-slim
|
||||
# python3 w/ requests is necessary for weather data fetch
|
||||
# ags actually doesn't start without it since it's stored
|
||||
# as a variable
|
||||
(python3.withPackages (ps: [ps.requests]))
|
||||
|
||||
# while developing locally, you need types and other eslint deps
|
||||
# so that our eslint config works properly
|
||||
# pnpm is used to fetch the deps from package.json
|
||||
nodePackages.pnpm
|
||||
|
||||
# dart-sass is for compiling the stylesheets
|
||||
dart-sass
|
||||
(writeShellScriptBin "compile-stylesheet" ''
|
||||
# compile scss files
|
||||
${dart-sass}/bin/sass --verbose \
|
||||
--style compressed \
|
||||
--no-source-map --fatal-deprecation --future-deprecation \
|
||||
./style/main.scss > ./style.css
|
||||
'')
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue