Compare commits

...

2 Commits

Author SHA1 Message Date
Agatha Lovelace df3e4f09cb
Fix NixOS module using incorrect output 2024-01-10 12:51:08 +01:00
Agatha Lovelace afdf9eeed8
Update README 2024-01-10 12:47:44 +01:00
2 changed files with 2 additions and 3 deletions

View File

@ -42,7 +42,7 @@ This repository also contains a Nix flake. It can be used in a NixOS configurati
1. Add flake to inputs:
```nix
url-eater.url = "github:AgathaSorceress/url-eater";
url-eater.inputs.nixpkgs.follows = "nixpkgs"; #optional
url-eater.inputs.nixpkgs.follows = "nixpkgs"; # optional
```
2. Adding output:
```nix
@ -74,7 +74,6 @@ Clone this repository, then run:
```sh
cargo build --release
```
You will need Rust 1.65 or newer.
The output binary will be in `target/release/url-eater`
Alternatively,

View File

@ -50,7 +50,7 @@
config = mkIf cfg.enable {
systemd.user.services."url-eater" = let
filters = pkgs.writeText "filters.kdl" cfg.filters;
pkg = self.defaultPackage.${pkgs.system};
pkg = self.packages.${pkgs.system}.default;
in {
description = "Clipboard URL cleanup service";