Skip to content

Conversation

@SohamG
Copy link

@SohamG SohamG commented Feb 14, 2025

  • Build npm package with nix
  • Deploy system with nixos-rebuild and flags --build-host and --target-host
  • Fix broken where cage removed the -r flag
  • Manage secrets with agenix, encrypted to the SSH ed25519 host key of the machine.

Deploy as follows:

nixos-rebuild --flake .#acmclock --build-host root@acmclock --target-host root@acmclock

Add ssh keys to root account before hand.

"path": "^0.12.7",
"pug": "^3.0.3"
"pug": "^3.0.3",
"sass": "^1.84.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does this extra dependency get used? Is this the replacement to node-sass?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is used in the sass-loader in webpack. The previous one used node-gyp and depended on a C library which caused build problems

@SohamG SohamG merged commit d4f4454 into main Feb 15, 2025
3 checks passed
@SohamG SohamG deleted the nixify branch February 15, 2025 17:41
@SohamG SohamG restored the nixify branch February 15, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants