mime shit

This commit is contained in:
2025-11-07 18:55:05 -06:00
parent 4af26da42f
commit 0534a04108
3 changed files with 13 additions and 5 deletions

View File

@@ -99,6 +99,10 @@
command = "/etc/profiles/per-user/blake/bin/nom-build";
options = ["NOPASSWD"];
}
{
command = "/etc/profiles/per-user/blake/bin/nom-shell";
options = ["NOPASSWD"];
}
];
}
];

View File

@@ -13,13 +13,11 @@ in {
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [xdg-ninja];
home.packages = with pkgs; [xdg-ninja ];
xdg =
if pkgs.system == "x86_64-darwin"
then {}
else {
xdg = {
enable = true;
configHome = "${home_dir}/.config";
cacheHome = "${home_dir}/.cache";
dataHome = "${home_dir}/.local/share";
@@ -37,6 +35,10 @@ in {
publicShare = "${home_dir}/public";
templates = "${home_dir}/templates";
};
# mimeApps = {
# "<type>" = ["<desktop file>"]
# };
};
# misc env variables to get things out of ~ (<3 xdg-ninja)

View File

@@ -64,6 +64,8 @@ in {
v = "nvim";
sv = "sudo nvim";
vim = "nvim";
mime-type = "xdg-mime query filetype";
mime-default = "xdg-mime query default";
# --- safety ---
cp = "cp -iv";