Skip to content

Commit

Permalink
mimeo: remove dotfile conf as a secret
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed Jan 5, 2025
1 parent 4ecd9c7 commit bf1ef32
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions home/modules/secrets.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ with lib;
type = types.str;
default = "OVERRIDE_ME";
};
mimeoAssociations = mkOption {
type = types.str;
default = "OVERRIDE_ME";
};
ngrokToken = mkOption {
type = types.str;
default = "OVERRIDE_ME";
Expand Down
4 changes: 1 addition & 3 deletions home/programs/mimeo/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, config, pkgs, ... }:
{ pkgs, ... }:

let
# https://nixos.org/manual/nixpkgs/unstable/#sec-checkpoint-build
Expand All @@ -18,6 +18,4 @@ let
in
{
home.packages = [ pkgs.mimeo xdg-mimeo ];
} // lib.mkIf (!lib.hasAttr "sxm" pkgs) {
xdg.configFile."mimeo/associations.txt".text = config.secrets.mimeoAssociations;
}

0 comments on commit bf1ef32

Please sign in to comment.