feat: fuck hyprland until they fix their shit

This commit is contained in:
Nick 2025-02-01 19:13:39 -06:00
parent 2c2c38225a
commit a4afc18937
13 changed files with 337 additions and 98 deletions

View file

@ -40,7 +40,6 @@ in
inherit (modules)
android
audio
bluetooth
corectrl
dconf
disks

View file

@ -35,8 +35,72 @@ in
iosevka
;
inherit (pkgs.nerd-fonts)
monaspace
_0xproto
_3270
agave
anonymice
arimo
aurulent-sans-mono
bigblue-terminal
bitstream-vera-sans-mono
blex-mono
caskaydia-cove
caskaydia-mono
code-new-roman
comic-shanns-mono
commit-mono
cousine
d2coding
daddy-time-mono
dejavu-sans-mono
departure-mono
droid-sans-mono
envy-code-r
fantasque-sans-mono
fira-code
fira-mono
geist-mono
go-mono
gohufont
hack
hasklug
heavy-data
hurmit
im-writing
inconsolata
inconsolata-go
inconsolata-lgc
intone-mono
iosevka-term
iosevka-term-slab
jetbrains-mono
lekton
liberation
lilex
martian-mono
monaspace
monofur
monoid
mononoki
mplus
noto
open-dyslexic
overpass
profont
proggy-clean-tt
recursive-mono
roboto-mono
sauce-code-pro
shure-tech-mono
space-mono
symbols-only
terminess-ttf
tinos
ubuntu
ubuntu-mono
ubuntu-sans
victor-mono
zed-mono
;
};
};

View file

@ -1,10 +1,15 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
hardware = {
bluetooth = {
enable = true;
package = pkgs.bluez;
powerOnBoot = true;
settings = {General = {Experimental = true;};};
settings = {
General = {
Experimental = true;
};
};
disabledPlugins = [
"sap"
];

View file

@ -1,5 +1,6 @@
{
imports = map (file: ./${file}.nix) [
"bluetooth"
"geoclue2"
"greetd"
"network"
@ -10,13 +11,4 @@
"thunar"
"wayland"
];
environment = {
variables = {
WLR_NO_HARDWARE_CURSORS = "1";
WLR_DRM_NO_ATOMIC = "1";
FLAMESHOT_ENABLE_WAYLAND = "1";
USE_WAYLAND_GRIM = "1";
USE_WAYLAND_CLIPBOARD = "1";
};
};
}

View file

@ -1,18 +1,14 @@
{
pkgs,
# flake,
flake,
...
}: {
}:
{
programs.hyprland = {
enable = true;
xwayland.enable = true;
# package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;
};
xdg.portal = {
enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
];
package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;
portalPackage = flake.inputs.hyprland-portal.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
};
nix = {
settings = {
@ -24,4 +20,13 @@
];
};
};
environment = {
variables = {
WLR_NO_HARDWARE_CURSORS = "1";
WLR_DRM_NO_ATOMIC = "1";
FLAMESHOT_ENABLE_WAYLAND = "1";
USE_WAYLAND_GRIM = "1";
USE_WAYLAND_CLIPBOARD = "1";
};
};
}

View file

@ -1,20 +1,22 @@
{ pkgs, ... }:
{ pkgs, flake, ... }:
{
environment.sessionVariables.NIXOS_OZONE_WL = "1";
xdg = {
portal = {
enable = true;
extraPortals = builtins.attrValues {
inherit (pkgs)
xdg-desktop-portal-hyprland
xdg-desktop-portal-wlr
# xdg-desktop-portal-kde
xdg-desktop-portal-gtk
;
};
wlr.enable = true;
xdgOpenUsePortal = true;
extraPortals = builtins.attrValues {
inherit (pkgs)
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
;
inherit (pkgs.kdePackages)
xdg-desktop-portal-kde
;
};
};
};
}