mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-24 22:29:33 +01:00
add xdg.nix
This commit is contained in:
parent
af34ffbc39
commit
f64043f67d
@ -7,6 +7,7 @@
|
||||
../../modules/nur-and-unstable.nix
|
||||
../../modules/base.nix
|
||||
../../modules/base-efi.nix
|
||||
../../modules/xdg.nix
|
||||
../../modules/power-management.nix
|
||||
../../modules/ntfs.nix
|
||||
../../modules/git.nix
|
||||
|
@ -7,6 +7,7 @@
|
||||
../../modules/nur-and-unstable.nix
|
||||
../../modules/base.nix
|
||||
../../modules/base-efi.nix
|
||||
../../modules/xdg.nix
|
||||
../../modules/power-management.nix
|
||||
../../modules/tuxedo-rs.nix
|
||||
../../modules/ntfs.nix
|
||||
|
17
modules/xdg.nix
Normal file
17
modules/xdg.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ 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;
|
||||
# };
|
||||
# };
|
||||
}
|
Loading…
Reference in New Issue
Block a user