mime shit
This commit is contained in:
@@ -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"];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user