diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-06-03 13:54:18 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-06-03 13:54:18 -0500 |
| commit | 8264c4659dbdb8d98310414badf288f8200fe242 (patch) | |
| tree | d4e967cd63990a464e36b7754676a58379e0f871 /hosts/gnuslashprinter/configuration.nix | |
| parent | a6d9a9de1defe2c39c9514c0de76d37dcf8a0576 (diff) | |
| download | nixos-8264c4659dbdb8d98310414badf288f8200fe242.tar.xz nixos-8264c4659dbdb8d98310414badf288f8200fe242.zip | |
aliases for printer and new power control relay. moonraker power control for printer enabled and accessible via mainsail. power control python script for power control via http in moonraker
Diffstat (limited to 'hosts/gnuslashprinter/configuration.nix')
| -rw-r--r-- | hosts/gnuslashprinter/configuration.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hosts/gnuslashprinter/configuration.nix b/hosts/gnuslashprinter/configuration.nix index 6af701a..9e1f734 100644 --- a/hosts/gnuslashprinter/configuration.nix +++ b/hosts/gnuslashprinter/configuration.nix @@ -1,5 +1,8 @@ { - imports = [ ./klipper.nix ]; + imports = [ + ./flask-relay-ctl.nix + ./klipper.nix + ]; boot._loader.enable = true; @@ -16,5 +19,11 @@ # Enable user timmy _users.timmy.enable = true; + # Name devices + services.udev.extraRules = '' + SUBSYSTEM=="tty", KERNELS=="3-9", SYMLINK+="gsp-power" + SUBSYSTEM=="tty", KERNELS=="3-10", SYMLINK+="gsp-control" + ''; + system.stateVersion = "25.11"; } |
