Skip to content

Commit

Permalink
feat: switch to the rust version of idwt
Browse files Browse the repository at this point in the history
  • Loading branch information
noahdotpy committed Dec 11, 2024
1 parent cb5c134 commit c43ae33
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 47 deletions.
4 changes: 2 additions & 2 deletions files/image-pinned-etcs/common/sudoers.d/allow-idwt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ALL ALL=(ALL) NOPASSWD: /usr/bin/idwt apply-system
%idwt-tightener ALL=(ALL) NOPASSWD: /usr/libexec/idwt/tighten-apply.nu
ALL ALL=(ALL) NOPASSWD: /usr/bin/idwt apply *
%idwt-tightener ALL=(ALL) NOPASSWD: /usr/bin/idwt edit *
2 changes: 1 addition & 1 deletion files/systemd/system/idwt-system.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=IDWT Apply (System)

[Service]
Type=oneshot
ExecStart=/usr/bin/idwt apply-system
ExecStart=/usr/bin/idwt apply system all

[Install]
WantedBy=default.target
8 changes: 0 additions & 8 deletions files/systemd/user/idwt-user.path

This file was deleted.

9 changes: 0 additions & 9 deletions files/systemd/user/idwt-user.service

This file was deleted.

12 changes: 0 additions & 12 deletions files/systemd/user/idwt-user.timer

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ modules:
- jq-devel
- type: containerfile
snippets:
- COPY --from=ghcr.io/noahdotpy/idwt-rs:git /out/bin/idwt /usr/bin/idwt-rs
- COPY --from=ghcr.io/noahdotpy/idwt:git /out/bin/idwt /usr/bin/idwt
6 changes: 3 additions & 3 deletions recipes/profiles/common/modules/systemd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ system:
- rpm-ostreed-automatic.timer
user:
enabled:
- idwt-user.path
- idwt-user.service
- idwt-user.timer
# - idwt-user.path
# - idwt-user.service
# - idwt-user.timer
- notify-big-uptime.timer
12 changes: 1 addition & 11 deletions recipes/profiles/common/profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,4 @@ modules:

- from-file: profiles/common/modules/block-hosts.yml

- from-file: profiles/common/modules/install-idwt-rs.yml

- type: containerfile
snippets:
- COPY --from=ghcr.io/noahdotpy/idwt:main /out /

# TODO: turn this back on when it is in stable blue-build
# - type: copy
# from: ghcr.io/noahdotpy/idwt:main
# src: /
# dest: /
- from-file: profiles/common/modules/install-idwt.yml

0 comments on commit c43ae33

Please sign in to comment.