Compare commits

..

1 Commits

Author SHA1 Message Date
Zynh Ludwig 5b71022a6a system specific stuff 2024-06-27 21:52:03 -07:00
3 changed files with 2 additions and 36 deletions

View File

@ -110,6 +110,7 @@
nix-output-monitor
brave
gparted
arandr
flameshot

View File

@ -20,7 +20,7 @@
programs.chromium = {
enable = true;
package = pkgs.google-chrome;
package = "google-chrome";
};
home.packages = with pkgs; [
@ -34,7 +34,6 @@
feh
imagemagick
brave
];
home.file = { };
@ -43,8 +42,6 @@
"${config.home.homeDirectory}/.cargo/bin"
];
nixpkgs.config.allowUnfree = true;
# wayland.windowManager.hyprland = {
# enable = true;
# package = pkgs.hyprland;

View File

@ -1,32 +0,0 @@
{ config, lib, pkgs, ... }:
let cfg = config.snowhawk.defaultPrograms;
in {
options.snowhawk.defaultPrograms = {
enable = lib.mkEnableOption "default programs";
};
config = cfg.enable {
xdg.mimeApps = {
enable = true;
defaultApplications = {
# Firefox
"application/pdf" = "brave-browser.desktop";
"application/x-extension-htm" = "brave-browser.desktop";
"application/x-extension-html" = "brave-browser.desktop";
"application/x-extension-shtml" = "brave-browser.desktop";
"application/x-extension-xht" = "brave-browser.desktop";
"application/x-extension-xhtml" = "brave-browser.desktop";
"application/xhtml+xml" = "brave-browser.desktop";
"text/html" = "brave-browser.desktop";
"x-scheme-handler/about" = "brave-browser.desktop";
"x-scheme-handler/chrome" = "brave-browser.desktop";
"x-scheme-handler/http" = "brave-browser.desktop";
"x-scheme-handler/https" = "brave-browser.desktop";
};
};
home.sessionVariables = {
DEFAULT_BROWSER = "${pkgs.brave}/bin/brave";
};
};
}