Skip to content

Commit

Permalink
mimeo: immutable config only when private flake is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed Jan 5, 2025
1 parent 8ea1d1d commit 4ecd9c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion home/programs/mimeo/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ lib, config, pkgs, ... }:

let
# https://nixos.org/manual/nixpkgs/unstable/#sec-checkpoint-build
Expand All @@ -18,5 +18,6 @@ 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 4ecd9c7

Please sign in to comment.