mirror of
https://github.com/ParkerTenBroeck/dotfiles.git
synced 2026-06-07 05:08:51 -04:00
switched away from stupid chromium config
This commit is contained in:
parent
f9e8a8bd10
commit
6e83c4679b
1 changed files with 3 additions and 27 deletions
|
|
@ -8,29 +8,6 @@ let
|
||||||
)
|
)
|
||||||
))}";
|
))}";
|
||||||
|
|
||||||
chromiumX11 = pkgs.symlinkJoin {
|
|
||||||
name = "chromium";
|
|
||||||
paths = [
|
|
||||||
(pkgs.writeShellScriptBin "chromium" ''
|
|
||||||
exec ${pkgs.chromium}/bin/chromium --ozone-platform=x11 "$@"
|
|
||||||
'')
|
|
||||||
|
|
||||||
(pkgs.makeDesktopItem {
|
|
||||||
name = "chromium";
|
|
||||||
desktopName = "Chromium";
|
|
||||||
genericName = "Web Browser";
|
|
||||||
exec = "chromium %U";
|
|
||||||
icon = "chromium";
|
|
||||||
categories = [ "Network" "WebBrowser" ];
|
|
||||||
mimeTypes = [
|
|
||||||
"text/html"
|
|
||||||
"x-scheme-handler/http"
|
|
||||||
"x-scheme-handler/https"
|
|
||||||
];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
hyprRun = pkgs.writeShellScript "hypr-run-igpu" ''
|
hyprRun = pkgs.writeShellScript "hypr-run-igpu" ''
|
||||||
export XDG_CURRENT_DESKTOP=Hyprland
|
export XDG_CURRENT_DESKTOP=Hyprland
|
||||||
export XDG_SESSION_DESKTOP=Hyprland
|
export XDG_SESSION_DESKTOP=Hyprland
|
||||||
|
|
@ -127,14 +104,13 @@ in {
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.may.home.packages = [
|
home-manager.users.may.home.packages = with pkgs; [
|
||||||
chromiumX11
|
chromium
|
||||||
] ++ (with pkgs; [
|
|
||||||
docker
|
docker
|
||||||
killall
|
killall
|
||||||
wayvnc
|
wayvnc
|
||||||
wlr-randr
|
wlr-randr
|
||||||
]);
|
];
|
||||||
|
|
||||||
services.greetd = lib.mkIf (config.services.greetd.enable && config.programs.hyprland.enable) {
|
services.greetd = lib.mkIf (config.services.greetd.enable && config.programs.hyprland.enable) {
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue