From ac41eb001593b87606c01f8a6f0e8833c36d6a7f Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Sat, 3 May 2025 03:57:52 +0100 Subject: [PATCH 01/10] turned off hyprland ANR warnings firefox kept having application not responding errors and it makes a floating window appear in the active workspace, interrupting me trying to troubleshoot the issue disabled this feature as it is not helpful in any way --- home-manager/hyprland.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index 5989790..c492162 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -5,6 +5,9 @@ xwayland.enable = true; systemd.variables = ["--all"]; settings = { + misc = { + enable_anr_dialog = false; + }; # Monitor config for home desk layout monitor = [ "eDP-2, 2560x1600@165, 0x0, auto" # main laptop monitor From de8d18de2d5e212fe69646d93942ad74797dcee1 Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Sat, 3 May 2025 18:05:04 +0100 Subject: [PATCH 02/10] update flake, revert firefox to stable trying to fix weird freezing issue firefox is having but nothing works --- flake.lock | 84 ++++++++++++++++++++-------------------- home-manager/firefox.nix | 8 +--- 2 files changed, 44 insertions(+), 48 deletions(-) diff --git a/flake.lock b/flake.lock index 5aa8121..4f02ca6 100644 --- a/flake.lock +++ b/flake.lock @@ -8,11 +8,11 @@ ] }, "locked": { - "lastModified": 1744234873, - "narHash": "sha256-lQOQNEU1z4/oVBpWDjTXidMdelaafNR3jecj6n0hCIU=", + "lastModified": 1746065248, + "narHash": "sha256-pf0CHOIJTQllsH++29xzQzGaWUIy/976v2wAEADfDaI=", "owner": "ezKEa", "repo": "aagl-gtk-on-nix", - "rev": "8f45b51942618a16e2027a67f054400a32a4b534", + "rev": "d44515cc7473e1463a8e619f7a4ac1c1b58580bd", "type": "github" }, "original": { @@ -110,11 +110,11 @@ ] }, "locked": { - "lastModified": 1745502102, - "narHash": "sha256-LqhRwzvIVPEjH0TaPgwzqpyhW6DtCrvz7FnUJDoUZh8=", + "lastModified": 1745812220, + "narHash": "sha256-hotBG0EJ9VmAHJYF0yhWuTVZpENHvwcJ2SxvIPrXm+g=", "owner": "nix-community", "repo": "disko", - "rev": "ca27b88c88948d96feeee9ed814cbd34f53d0d70", + "rev": "d0c543d740fad42fe2c035b43c9d41127e073c78", "type": "github" }, "original": { @@ -417,11 +417,11 @@ ] }, "locked": { - "lastModified": 1745764360, - "narHash": "sha256-GJEUJpZLkczMN6HXD0wdFX6KyDbvZe3v5orUhqEfK6w=", + "lastModified": 1746243165, + "narHash": "sha256-DQycVmlyLQNLjLJ/FzpokVmbxGQ8HjQQ4zN4nyq2vII=", "owner": "nix-community", "repo": "home-manager", - "rev": "50bb714a8259b0c29b6c3429099a3b837771dab4", + "rev": "c0962eeeabfb8127713f859ec8a5f0e86dead0f2", "type": "github" }, "original": { @@ -438,11 +438,11 @@ ] }, "locked": { - "lastModified": 1745439012, - "narHash": "sha256-TwbdiH28QK7Da2JQTqFHdb+UCJq6QbF2mtf+RxHVzEA=", + "lastModified": 1746040799, + "narHash": "sha256-osgPX/SzIpkR50vev/rqoTEAVkEcOWXoQXmbzsaI4KU=", "owner": "nix-community", "repo": "home-manager", - "rev": "d31710fb2cd536b1966fee2af74e99a0816a61a8", + "rev": "5f217e5a319f6c186283b530f8c975e66c028433", "type": "github" }, "original": { @@ -478,11 +478,11 @@ }, "mnw": { "locked": { - "lastModified": 1744597985, - "narHash": "sha256-lLYB9/tQ0OAKonL0Ku963nqOm0aE1TmLavrzmXAr5Zc=", + "lastModified": 1746230955, + "narHash": "sha256-X32sM3RQ3X2y6PzfNnX3rhUAlhuITdDOdfSrwZXjlsQ=", "owner": "Gerg-L", "repo": "mnw", - "rev": "cbdcbb5f8eb24e25b932bbc87e29299a72e34b64", + "rev": "2a1678ba8e4807bd855dd0da94ea2bef5bca733d", "type": "github" }, "original": { @@ -584,11 +584,11 @@ }, "nixpkgs-master": { "locked": { - "lastModified": 1745768022, - "narHash": "sha256-MI2gEUT4xlnKE0pUJ/WmW6ML3IFiqGRD6Fize/SiY7M=", + "lastModified": 1746282617, + "narHash": "sha256-UzqYxLJbt8zWdW5a7qVO4gCWEQySil0oXawIlJjctK4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "488d37d95bb5de4ad38cbd647e792574b7147800", + "rev": "bd04914cf9caebd3572838a6d1078dade8300037", "type": "github" }, "original": { @@ -600,11 +600,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1745487689, - "narHash": "sha256-FQoi3R0NjQeBAsEOo49b5tbDPcJSMWc3QhhaIi9eddw=", + "lastModified": 1746183838, + "narHash": "sha256-kwaaguGkAqTZ1oK0yXeQ3ayYjs8u/W7eEfrFpFfIDFA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5630cf13cceac06cefe9fc607e8dfa8fb342dde3", + "rev": "bf3287dac860542719fe7554e21e686108716879", "type": "github" }, "original": { @@ -616,11 +616,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1745526057, - "narHash": "sha256-ITSpPDwvLBZBnPRS2bUcHY3gZSwis/uTe255QgMtTLA=", + "lastModified": 1746141548, + "narHash": "sha256-IgBWhX7A2oJmZFIrpRuMnw5RAufVnfvOgHWgIdds+hc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "f771eb401a46846c1aebd20552521b233dd7e18b", + "rev": "f02fddb8acef29a8b32f10a335d44828d7825b78", "type": "github" }, "original": { @@ -632,11 +632,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1745526057, - "narHash": "sha256-ITSpPDwvLBZBnPRS2bUcHY3gZSwis/uTe255QgMtTLA=", + "lastModified": 1746141548, + "narHash": "sha256-IgBWhX7A2oJmZFIrpRuMnw5RAufVnfvOgHWgIdds+hc=", "owner": "nixos", "repo": "nixpkgs", - "rev": "f771eb401a46846c1aebd20552521b233dd7e18b", + "rev": "f02fddb8acef29a8b32f10a335d44828d7825b78", "type": "github" }, "original": { @@ -648,11 +648,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1745234285, - "narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=", + "lastModified": 1745930157, + "narHash": "sha256-y3h3NLnzRSiUkYpnfvnS669zWZLoqqI6NprtLQ+5dck=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c11863f1e964833214b767f4a369c6e6a7aba141", + "rev": "46e634be05ce9dc6d4db8e664515ba10b78151ae", "type": "github" }, "original": { @@ -669,11 +669,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1745771698, - "narHash": "sha256-1/87FqzayivqtFS/yFqHNBsSlY3hP6CTcsq8Wj9qDrI=", + "lastModified": 1746277541, + "narHash": "sha256-s4tgQNomZhgero1ALP7SwNIagbT7yOnKVvjqcq2qxFY=", "owner": "nix-community", "repo": "NUR", - "rev": "f33c7bc8d22cbbc2fa932e283746eacd05944b17", + "rev": "7d89a2092973370db813fe87ab45d7bb5c4e1edd", "type": "github" }, "original": { @@ -692,11 +692,11 @@ "treefmt-nix": "treefmt-nix_2" }, "locked": { - "lastModified": 1745459908, - "narHash": "sha256-bWqgohVf/py9EW3bLS/dYbenD2p9N2/Qsw1+CJk1S04=", + "lastModified": 1746056780, + "narHash": "sha256-/emueQGaoT4vu0QjU9LDOG5roxRSfdY0K2KkxuzazcM=", "owner": "nix-community", "repo": "NUR", - "rev": "dbc4ba3233b2bf951521177bf0ee0a7679959035", + "rev": "d476cd0972dd6242d76374fcc277e6735715c167", "type": "github" }, "original": { @@ -717,11 +717,11 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1745724418, - "narHash": "sha256-OBzNjF+ul741p5pfl1Ym2lE7psr0QF/QjOGRLpCpz+0=", + "lastModified": 1746251508, + "narHash": "sha256-AOvwSvFmcQ+N9554XxGDhYBL1DigrJeau5Mz9muvF54=", "owner": "notashelf", "repo": "nvf", - "rev": "bb3ca63d21cd05c197e2df9da6ee2c7eaa8e7672", + "rev": "f7c35ab3422b35f3af422f4f896bd79a9ba30ee4", "type": "github" }, "original": { @@ -880,11 +880,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1745618823, - "narHash": "sha256-WGKSI0+CY3Ep2YnRASmBRU8oMIvTW4ngFyjA0dVcKgQ=", + "lastModified": 1746223791, + "narHash": "sha256-R/DWYbY+Yr/QULujNlozfBUU2s9nZPoRikjIGPTYcR8=", "owner": "danth", "repo": "stylix", - "rev": "11ceb2fde1901dc227421bbbef2d0800339f5126", + "rev": "953e7247ac340e5036f8af47eaccf1a23f1a0257", "type": "github" }, "original": { diff --git a/home-manager/firefox.nix b/home-manager/firefox.nix index ff4d3df..d0e0a3c 100644 --- a/home-manager/firefox.nix +++ b/home-manager/firefox.nix @@ -1,11 +1,7 @@ -{ - config, - pkgs, - ... -}: { +{pkgs, ...}: { programs.firefox = { enable = true; - # package = pkgs.librewolf; + package = pkgs.stable.firefox; profiles.blue = { isDefault = true; id = 0; From 0e801d81dfd672aa8f803a794603fef0962839cf Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Sun, 4 May 2025 02:01:54 +0100 Subject: [PATCH 03/10] switched to floorp goodbye firefox --- home-manager/firefox.nix | 5 ++--- home-manager/hyprland.nix | 6 +++--- home-manager/stylix.nix | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/home-manager/firefox.nix b/home-manager/firefox.nix index d0e0a3c..2f89911 100644 --- a/home-manager/firefox.nix +++ b/home-manager/firefox.nix @@ -1,7 +1,6 @@ {pkgs, ...}: { - programs.firefox = { + programs.floorp = { enable = true; - package = pkgs.stable.firefox; profiles.blue = { isDefault = true; id = 0; @@ -22,7 +21,7 @@ shinigami-eyes ]; search = { - default = "ddg"; # Set search engine to DuckDuckGo + default = "DuckDuckGo"; # Set search engine to DuckDuckGo force = true; # Prevents annoying error when rebuilding }; settings = { diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index c492162..e629e40 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -41,9 +41,9 @@ ]; exec-once = [ "[workspace name:comms silent; move -100%,100%] telegram-desktop" - "[workspace name:comms silent; move -100%,-100%] signal-desktop" - "[workspace name:comms silent; move 100%,100%] firefox https://web.whatsapp.com https://instagram.com" - "[workspace name:comms silent; move 100%,-100%] vesktop" + "[workspace name:comms silent; move -100%,-100%] signal-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland" + # "[workspace name:comms silent; move 100%,100%] firefox https://web.whatsapp.com https://instagram.com" + "[workspace name:comms silent; move 100%,-100%] vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland" ]; # Declare all keybinds diff --git a/home-manager/stylix.nix b/home-manager/stylix.nix index 92ea91b..7badabc 100644 --- a/home-manager/stylix.nix +++ b/home-manager/stylix.nix @@ -31,7 +31,7 @@ }; polarity = "dark"; targets = { - firefox.profileNames = ["blue"]; + floorp.profileNames = ["blue"]; }; }; } From 107cf086b9872f2f5a685e1df94a39e282035edb Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Sun, 4 May 2025 02:03:01 +0100 Subject: [PATCH 04/10] changed hyprland.nix to use floorp --- home-manager/hyprland.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index e629e40..dc301ee 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -42,7 +42,7 @@ exec-once = [ "[workspace name:comms silent; move -100%,100%] telegram-desktop" "[workspace name:comms silent; move -100%,-100%] signal-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland" - # "[workspace name:comms silent; move 100%,100%] firefox https://web.whatsapp.com https://instagram.com" + "[workspace name:comms silent; move 100%,100%] floorp https://web.whatsapp.com https://instagram.com" "[workspace name:comms silent; move 100%,-100%] vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland" ]; @@ -51,7 +51,7 @@ # Keybind for setting fullscreen "$mod, F11, fullscreen" # Keybinds for starting programs - "$mod, F, exec, firefox" + "$mod, F, exec, floorp" "$mod, 1, exec, alacritty" "$mod, D, exec, vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland" "$mod, space, exec, zsh -c 'wofi --show drun, run'" From 9cc503939adb114e6fede5fe8cfd5d06839efdf3 Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Mon, 5 May 2025 04:20:39 +0100 Subject: [PATCH 05/10] turned off home-manager floorp search engine was setting to google no matter what, will look into this if i remember later. for now i just have it set imperatively in floorp --- home-manager/firefox.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/firefox.nix b/home-manager/firefox.nix index 2f89911..d330111 100644 --- a/home-manager/firefox.nix +++ b/home-manager/firefox.nix @@ -21,8 +21,8 @@ shinigami-eyes ]; search = { - default = "DuckDuckGo"; # Set search engine to DuckDuckGo - force = true; # Prevents annoying error when rebuilding + # default = "ddg"; # Set search engine to DuckDuckGo + # force = true; # Prevents annoying error when rebuilding }; settings = { "browser.search.region" = "GB"; From 816129a50635e6a4861df2f5e654651e8566f13d Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Tue, 6 May 2025 01:51:12 +0100 Subject: [PATCH 06/10] add zellij --- home-manager/home.nix | 1 + home-manager/zellij.nix | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 home-manager/zellij.nix diff --git a/home-manager/home.nix b/home-manager/home.nix index 764e48f..8602a9d 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -21,6 +21,7 @@ ./stylix.nix ./direnv.nix ./firefox.nix + ./zellij.nix ]; # States home manager version that config was originally compatible with, do not change without reading all patch notes since this version and altering as needed diff --git a/home-manager/zellij.nix b/home-manager/zellij.nix new file mode 100644 index 0000000..f15fd10 --- /dev/null +++ b/home-manager/zellij.nix @@ -0,0 +1,6 @@ +{...}: { + enable = true; + enableZshIntegration = true; + exitShellOnExit = true; + attachExistingSession = true; +} From 61239c0f2ba03b97469becec91fbd0d69c487a0e Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Tue, 6 May 2025 01:53:54 +0100 Subject: [PATCH 07/10] added the actual zellij option idk how i missed that --- home-manager/zellij.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/home-manager/zellij.nix b/home-manager/zellij.nix index f15fd10..300d10b 100644 --- a/home-manager/zellij.nix +++ b/home-manager/zellij.nix @@ -1,6 +1,8 @@ {...}: { - enable = true; - enableZshIntegration = true; - exitShellOnExit = true; - attachExistingSession = true; + zellij = { + enable = true; + enableZshIntegration = true; + exitShellOnExit = true; + attachExistingSession = true; + } } From 887735826b864938e54e9a5498ebd3120b7b3b76 Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Tue, 6 May 2025 19:58:08 +0100 Subject: [PATCH 08/10] added two more workspaces, one for each monitor autostarted floorp on youtube on the bg_noise workspace autostarted alacritty on the main workspace also fixed zellij not being set properly (again) --- home-manager/hyprland.nix | 6 ++++++ home-manager/zellij.nix | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index dc301ee..08d9e59 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -16,6 +16,8 @@ ]; workspace = [ "name:comms, monitor:desc:Lenovo Group Limited LEN G24-10 U5B4KL78, default:true" + "name:bg_noise, monitor:desc:Lenovo Group Limited LEN G24-10 U5B4ZAM2, default:true" + "name:main, monitor:eDP-2, default:true" ]; # Define SUPER key as mod key @@ -44,6 +46,10 @@ "[workspace name:comms silent; move -100%,-100%] signal-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland" "[workspace name:comms silent; move 100%,100%] floorp https://web.whatsapp.com https://instagram.com" "[workspace name:comms silent; move 100%,-100%] vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland" + + "[workspace name:bg_noise] floorp https://www.youtube.com/playlist?list=WL" + + "[workspace name:main] alacritty" ]; # Declare all keybinds diff --git a/home-manager/zellij.nix b/home-manager/zellij.nix index 300d10b..8130c6a 100644 --- a/home-manager/zellij.nix +++ b/home-manager/zellij.nix @@ -1,8 +1,8 @@ {...}: { - zellij = { + programs.zellij = { enable = true; enableZshIntegration = true; exitShellOnExit = true; attachExistingSession = true; - } + }; } From 4e69b9055eb37a4bfe2f3089262a67a88c7538ba Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Wed, 7 May 2025 16:47:50 +0100 Subject: [PATCH 09/10] added some more firefox policies --- home-manager/firefox.nix | 2 ++ home-manager/home.nix | 1 + home-manager/hyprland.nix | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/home-manager/firefox.nix b/home-manager/firefox.nix index d330111..72aae8f 100644 --- a/home-manager/firefox.nix +++ b/home-manager/firefox.nix @@ -40,6 +40,8 @@ "DisablePocket" = true; "AutofillAddressEnabled" = false; "AutofillCreditCardEnabled" = false; + "DisableFirefoxAccounts" = true; + "PasswordManagerEnabled" = false; }; }; } diff --git a/home-manager/home.nix b/home-manager/home.nix index 8602a9d..76cafe2 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -64,6 +64,7 @@ # Set default editor EDITOR = "nvim"; NIXOS_OZONE_WL = 1; + LD_LIBRARY_PATH = "${pkgs.libGL}/lib:${pkgs.gtk3}/lib:${pkgs.glib.out}/lib:${pkgs.xorg.libXtst}/lib"; }; # Let Home Manager install and manage itself. diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index 08d9e59..6565850 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -45,7 +45,7 @@ "[workspace name:comms silent; move -100%,100%] telegram-desktop" "[workspace name:comms silent; move -100%,-100%] signal-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland" "[workspace name:comms silent; move 100%,100%] floorp https://web.whatsapp.com https://instagram.com" - "[workspace name:comms silent; move 100%,-100%] vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland" + "[workspace name:comms silent; move 100%,-100%] vesktop" "[workspace name:bg_noise] floorp https://www.youtube.com/playlist?list=WL" From 2f31d194306d54e25526c893858f3112d6e0011a Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Wed, 7 May 2025 17:07:44 +0100 Subject: [PATCH 10/10] remove wayland support from vesktop bc its weird --- home-manager/hyprland.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index 6565850..534709e 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -59,7 +59,7 @@ # Keybinds for starting programs "$mod, F, exec, floorp" "$mod, 1, exec, alacritty" - "$mod, D, exec, vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland" + "$mod, D, exec, vesktop" "$mod, space, exec, zsh -c 'wofi --show drun, run'" # Screenshot tool