This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import re | |
| import argparse | |
| def parse_nix_module(file_path): | |
| options = {} | |
| if not os.path.exists(file_path): | |
| print(f"File not found: {file_path}") | |
| return options |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # Home manager remote | |
| # | |
| # A simple bash script to build and apply a home-manager configuration | |
| # from your flake to the target hosts. | |
| # Can both build locally and copy the closure or build on target | |
| # | |
| # Usage: | |
| # home-manager-remote.sh <flake_path> [target] [--build-on-target] |