diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 01:35:06 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 02:11:48 +0200 |
commit | 1a64deeb894dc95e2645a75771732c6cc53a79ad (patch) | |
tree | 1b9df4838f894577a09b9b260151756272efeb53 /flakes/files-watcher/flake.nix | |
parent | fa25ffd4583cc362075cd5e1b4130f33306103f0 (diff) | |
download | Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.gz Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.zst Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.zip |
Squash changes containing private information
There were a lot of changes since the previous commit, but a lot of them
contained personnal information about users. All thos changes got
stashed into a single commit (history is kept in a different place) and
private information was moved in a separate private repository
Diffstat (limited to 'flakes/files-watcher/flake.nix')
-rw-r--r-- | flakes/files-watcher/flake.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/flakes/files-watcher/flake.nix b/flakes/files-watcher/flake.nix index 29ea428..3be566d 100644 --- a/flakes/files-watcher/flake.nix +++ b/flakes/files-watcher/flake.nix | |||
@@ -2,6 +2,8 @@ | |||
2 | description = "Module to watch fo file changes to force restart systemd service"; | 2 | description = "Module to watch fo file changes to force restart systemd service"; |
3 | outputs = { self }: { | 3 | outputs = { self }: { |
4 | nixosModule = { config, lib, pkgs, ... }: let cfg = config.services.filesWatcher; in with lib; { | 4 | nixosModule = { config, lib, pkgs, ... }: let cfg = config.services.filesWatcher; in with lib; { |
5 | # Necessary for situations where flake gets included multiple times | ||
6 | key = builtins.hashString "sha256" (builtins.path { path = self.sourceInfo.outPath; name = "source"; }); | ||
5 | options = { | 7 | options = { |
6 | services.filesWatcher = with lib.types; mkOption { | 8 | services.filesWatcher = with lib.types; mkOption { |
7 | default = {}; | 9 | default = {}; |