filetypes

This commit is contained in:
Zynh Ludwig 2024-06-27 23:23:02 -07:00
parent e26d290125
commit c7923e6ae6
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
./neovim.nix ./neovim.nix
./filetypes.nix
./alacritty.nix ./alacritty.nix
./fish.nix ./fish.nix
./git.nix ./git.nix
@ -16,4 +17,5 @@
snowhawk.tmux.enable = lib.mkDefault true; snowhawk.tmux.enable = lib.mkDefault true;
snowhawk.fish.enable = lib.mkDefault true; snowhawk.fish.enable = lib.mkDefault true;
snowhawk.git.enable = lib.mkDefault true; snowhawk.git.enable = lib.mkDefault true;
snowhawk.defaultPrograms.enable = lib.mkDefault true;
} }

View file

@ -5,7 +5,7 @@ in {
options.snowhawk.defaultPrograms = { options.snowhawk.defaultPrograms = {
enable = lib.mkEnableOption "default programs"; enable = lib.mkEnableOption "default programs";
}; };
config = cfg.enable { config = lib.mkIf cfg.enable {
xdg.mimeApps = { xdg.mimeApps = {
enable = true; enable = true;
defaultApplications = { defaultApplications = {