mime shit
This commit is contained in:
@@ -99,6 +99,10 @@
|
|||||||
command = "/etc/profiles/per-user/blake/bin/nom-build";
|
command = "/etc/profiles/per-user/blake/bin/nom-build";
|
||||||
options = ["NOPASSWD"];
|
options = ["NOPASSWD"];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
command = "/etc/profiles/per-user/blake/bin/nom-shell";
|
||||||
|
options = ["NOPASSWD"];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -13,13 +13,11 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
home.packages = with pkgs; [xdg-ninja];
|
home.packages = with pkgs; [xdg-ninja ];
|
||||||
|
|
||||||
xdg =
|
xdg = {
|
||||||
if pkgs.system == "x86_64-darwin"
|
|
||||||
then {}
|
|
||||||
else {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
configHome = "${home_dir}/.config";
|
configHome = "${home_dir}/.config";
|
||||||
cacheHome = "${home_dir}/.cache";
|
cacheHome = "${home_dir}/.cache";
|
||||||
dataHome = "${home_dir}/.local/share";
|
dataHome = "${home_dir}/.local/share";
|
||||||
@@ -37,6 +35,10 @@ in {
|
|||||||
publicShare = "${home_dir}/public";
|
publicShare = "${home_dir}/public";
|
||||||
templates = "${home_dir}/templates";
|
templates = "${home_dir}/templates";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# mimeApps = {
|
||||||
|
# "<type>" = ["<desktop file>"]
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
# misc env variables to get things out of ~ (<3 xdg-ninja)
|
# misc env variables to get things out of ~ (<3 xdg-ninja)
|
||||||
|
|||||||
@@ -64,6 +64,8 @@ in {
|
|||||||
v = "nvim";
|
v = "nvim";
|
||||||
sv = "sudo nvim";
|
sv = "sudo nvim";
|
||||||
vim = "nvim";
|
vim = "nvim";
|
||||||
|
mime-type = "xdg-mime query filetype";
|
||||||
|
mime-default = "xdg-mime query default";
|
||||||
|
|
||||||
# --- safety ---
|
# --- safety ---
|
||||||
cp = "cp -iv";
|
cp = "cp -iv";
|
||||||
|
|||||||
Reference in New Issue
Block a user