onny:notizen
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| onny:notizen [2026/03/27 09:40] – [modules] fdc9:281f:4d7:9ee9::1 | onny:notizen [2026/04/14 08:59] (current) – [postmarketOS] fdc9:281f:4d7:9ee9::1 | ||
|---|---|---|---|
| Line 291: | Line 291: | ||
| Constant quality AV1. The CRF value can be from 0–63. Lower values mean better quality. | Constant quality AV1. The CRF value can be from 0–63. Lower values mean better quality. | ||
| <code bash> | <code bash> | ||
| - | ffmpeg -i input.mp4 -c:v libaom-av1 | + | ffmpeg -i input.mov -c:v libsvtav1 |
| </ | </ | ||
| Burn subtitles, fast video conversion | Burn subtitles, fast video conversion | ||
| Line 617: | Line 617: | ||
| </ | </ | ||
| ==== git ==== | ==== git ==== | ||
| + | |||
| + | unstage changes to a specific file of a specific commit | ||
| + | <code bash> | ||
| + | git rebase -i 19d0900f23e0b29fc2706dbbf8a806cea7c3e0f2^ | ||
| + | git restore --staged --source=HEAD^ -- pkgs/ | ||
| + | git restore -- pkgs/ | ||
| + | git commit --amend | ||
| + | git rebase --continue | ||
| + | </ | ||
| + | |||
| + | merge changes into last commit | ||
| + | <code bash> | ||
| + | git commit -a --amend --no-edit | ||
| + | </ | ||
| + | |||
| show remote origin | show remote origin | ||
| <code bash> | <code bash> | ||
| git remote show origin | git remote show origin | ||
| </ | </ | ||
| + | |||
| change remote origin | change remote origin | ||
| <code bash> | <code bash> | ||
| Line 981: | Line 997: | ||
| </ | </ | ||
| ===== systemd ===== | ===== systemd ===== | ||
| + | |||
| + | systemctl show unit environment | ||
| + | < | ||
| + | systemctl show rsshub --property=Environment | ||
| + | </ | ||
| + | |||
| service hardening | service hardening | ||
| < | < | ||
| Line 1562: | Line 1584: | ||
| </ | </ | ||
| - | ===== system config | + | ==== system config ==== |
| - | use module from unstable | + | use module |
| < | < | ||
| - | nixpkgs.config.packageOverrides | + | { |
| - | unstable = import unstableTarball { }; | + | inputs = { |
| - | | + | |
| + | | ||
| + | | ||
| }; | }; | ||
| </ | </ | ||
| - | overlay: use / overwrite package from custom remote or local repo / fork: | + | < |
| + | disabledModules = [ | ||
| + | " | ||
| + | ]; | ||
| + | imports = [ | ||
| + | " | ||
| + | ]; | ||
| - | < | + | nixpkgs.overlays = [ |
| - | | + | (self: super: { |
| - | (self: super: { | + | |
| - | | + | |
| - | url = | + | }) |
| - | " | + | ]; |
| - | | + | |
| - | }) { config = { allowUnfree = true; }; }).foo2zjs; | + | |
| - | linux-wifi-hotspot = (import / | + | |
| - | }) | + | |
| - | ]; | + | |
| </ | </ | ||
| - | + | ==== modules ==== | |
| - | ===== modules | + | |
| converting cfg.settings to strings only for systemd environment variables etc | converting cfg.settings to strings only for systemd environment variables etc | ||
| Line 1606: | Line 1630: | ||
| local file path as flake input | local file path as flake input | ||
| < | < | ||
| - | inputs.verwaltungstracker.url = "path:/ | + | inputs.verwaltungstracker.url = "git+file:/// |
| </ | </ | ||
| Line 1763: | Line 1787: | ||
| ===== postmarketOS ===== | ===== postmarketOS ===== | ||
| + | |||
| + | update checksum | ||
| + | <code bash> | ||
| + | pmbootstrap checksum device-samsung-dream | ||
| + | </ | ||
| general chroot management | general chroot management | ||
onny/notizen.1774604429.txt.gz · Last modified: by fdc9:281f:4d7:9ee9::1
