mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-23 22:19:33 +01:00
18 lines
740 B
Nix
18 lines
740 B
Nix
|
{ config, pkgs, ... }:
|
||
|
{
|
||
|
# This updates the desktop database. https://github.com/NixOS/nixpkgs/blob/3cb4ae6689d2aa3f363516234572613b31212b78/nixos/modules/config/xdg/mime.nix#L91-L100
|
||
|
xdg.mime.enable = true;
|
||
|
|
||
|
# To create `mimeapps.list`, see options `xdg.mime.*`. https://github.com/NixOS/nixpkgs/pull/120087
|
||
|
|
||
|
# # Inside the following Home Manager configuration block,
|
||
|
# # `config` refers to Home Manager configuration.
|
||
|
# home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||
|
# xdg = {
|
||
|
# enable = true;
|
||
|
# # This updates the desktop database. https://github.com/nix-community/home-manager/blob/0e0e9669547e45ea6cca2de4044c1a384fd0fe55/modules/misc/xdg-mime.nix#L45-L58
|
||
|
# mime.enable = true;
|
||
|
# };
|
||
|
# };
|
||
|
}
|