feat: trying to unfuck hyprland

This commit is contained in:
Nick 2025-02-02 23:56:07 -06:00
parent 616c51118f
commit 4a9592dad8
7 changed files with 48 additions and 40 deletions

View file

@ -84,7 +84,7 @@
./profiles/user0
./profiles/user1
config.nixosModules.desktop
config.nixosModules.gnome
config.nixosModules.hyprland
config.nixosModules.personal
config.nixosModules.shared
config.nixosModules.sops

View file

@ -50,7 +50,7 @@ in
messaging
sharing
tools
gnome
hypr
;
};
};

View file

@ -19,7 +19,7 @@
}
.titlebar-buttonbox-container {
display: none !important;
display: visible !important;
}
@ -91,8 +91,8 @@
#forward-button[disabled="true"] {
display: none !important;
}
.personalize-button {
display: none !important;
.personalize-button {
display: none !important;
}
.tab-close-button {

View file

@ -1,29 +1,35 @@
{ pkgs, ... }:
let
flameshotGrim = pkgs.flameshot.overrideAttrs (oldAttrs: {
src = pkgs.fetchFromGitHub {
owner = "flameshot-org";
repo = "flameshot";
rev = "3d21e4967b68e9ce80fb2238857aa1bf12c7b905";
sha256 = "sha256-OLRtF/yjHDN+sIbgilBZ6sBZ3FO6K533kFC1L2peugc=";
};
cmakeFlags = [
"-DUSE_WAYLAND_CLIPBOARD=1"
"-DUSE_WAYLAND_GRIM=1"
];
buildInputs = oldAttrs.buildInputs ++ [ pkgs.libsForQt5.kguiaddons ];
});
in
{
services.flameshot = {
enable = true;
package = flameshotGrim;
settings = {
General = {
disabledTrayIcon = false;
showStartupLaunchMessage = false;
# disabledGrimWarning = false;
};
};
# let
# flameshotGrim = pkgs.flameshot.overrideAttrs (oldAttrs: {
# src = pkgs.fetchFromGitHub {
# owner = "flameshot-org";
# repo = "flameshot";
# rev = "3d21e4967b68e9ce80fb2238857aa1bf12c7b905";
# sha256 = "sha256-OLRtF/yjHDN+sIbgilBZ6sBZ3FO6K533kFC1L2peugc=";
# };
# cmakeFlags = [
# "-DUSE_WAYLAND_CLIPBOARD=1"
# "-DUSE_WAYLAND_GRIM=1"
# ];
# buildInputs = oldAttrs.buildInputs ++ [ pkgs.libsForQt5.kguiaddons ];
# });
# in
# {
# services.flameshot = {
# enable = true;
# # package = flameshotGrim;
# settings = {
# General = {
# disabledTrayIcon = false;
# showStartupLaunchMessage = false;
# # disabledGrimWarning = false;
# };
# };
# };
home.packages = builtins.attrValues {
inherit (pkgs)
flameshot
;
};
}

1
home/modules/gui/desktop/gnome/default.nix Normal file → Executable file
View file

@ -6,6 +6,7 @@
gnome-tweaks
gnome-shell-extensions
gnome-remote-desktop
ulauncher
;
inherit (pkgs.gnomeExtensions)
tiling-shell

View file

@ -7,8 +7,8 @@
programs.hyprland = {
enable = true;
xwayland.enable = true;
package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;
portalPackage = flake.inputs.hyprland-portal.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
# package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;
# portalPackage = flake.inputs.hyprland-portal.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
};
nix = {
settings = {

View file

@ -3,19 +3,20 @@
hardware = {
graphics = {
enable = true;
enable32Bit = true;
extraPackages = builtins.attrValues {
inherit (pkgs)
amdvlk
;
# inherit (pkgs)
# amdvlk
# ;
inherit (pkgs.rocmPackages.clr)
icd
;
};
extraPackages32 = builtins.attrValues {
inherit (pkgs.driversi686Linux)
amdvlk
;
};
# extraPackages32 = builtins.attrValues {
# inherit (pkgs.driversi686Linux)
# amdvlk
# ;
# };
};
};
boot.initrd.kernelModules = [