Compare commits

..

10 commits

Author SHA1 Message Date
2f31d19430 remove wayland support from vesktop bc its weird 2025-05-07 17:07:44 +01:00
4e69b9055e added some more firefox policies 2025-05-07 16:47:50 +01:00
887735826b 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)
2025-05-06 19:58:08 +01:00
61239c0f2b added the actual zellij option
idk how i missed that
2025-05-06 01:53:54 +01:00
816129a506 add zellij 2025-05-06 01:51:12 +01:00
9cc503939a 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
2025-05-05 04:20:39 +01:00
107cf086b9 changed hyprland.nix to use floorp 2025-05-04 02:03:01 +01:00
0e801d81df switched to floorp
goodbye firefox
2025-05-04 02:01:54 +01:00
de8d18de2d update flake, revert firefox to stable
trying to fix weird freezing issue firefox is having but nothing works
2025-05-03 18:05:04 +01:00
ac41eb0015 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
2025-05-03 03:57:52 +01:00
6 changed files with 72 additions and 56 deletions

84
flake.lock generated
View file

@ -8,11 +8,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1744234873, "lastModified": 1746065248,
"narHash": "sha256-lQOQNEU1z4/oVBpWDjTXidMdelaafNR3jecj6n0hCIU=", "narHash": "sha256-pf0CHOIJTQllsH++29xzQzGaWUIy/976v2wAEADfDaI=",
"owner": "ezKEa", "owner": "ezKEa",
"repo": "aagl-gtk-on-nix", "repo": "aagl-gtk-on-nix",
"rev": "8f45b51942618a16e2027a67f054400a32a4b534", "rev": "d44515cc7473e1463a8e619f7a4ac1c1b58580bd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -110,11 +110,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745502102, "lastModified": 1745812220,
"narHash": "sha256-LqhRwzvIVPEjH0TaPgwzqpyhW6DtCrvz7FnUJDoUZh8=", "narHash": "sha256-hotBG0EJ9VmAHJYF0yhWuTVZpENHvwcJ2SxvIPrXm+g=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "ca27b88c88948d96feeee9ed814cbd34f53d0d70", "rev": "d0c543d740fad42fe2c035b43c9d41127e073c78",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -417,11 +417,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745764360, "lastModified": 1746243165,
"narHash": "sha256-GJEUJpZLkczMN6HXD0wdFX6KyDbvZe3v5orUhqEfK6w=", "narHash": "sha256-DQycVmlyLQNLjLJ/FzpokVmbxGQ8HjQQ4zN4nyq2vII=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "50bb714a8259b0c29b6c3429099a3b837771dab4", "rev": "c0962eeeabfb8127713f859ec8a5f0e86dead0f2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -438,11 +438,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745439012, "lastModified": 1746040799,
"narHash": "sha256-TwbdiH28QK7Da2JQTqFHdb+UCJq6QbF2mtf+RxHVzEA=", "narHash": "sha256-osgPX/SzIpkR50vev/rqoTEAVkEcOWXoQXmbzsaI4KU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d31710fb2cd536b1966fee2af74e99a0816a61a8", "rev": "5f217e5a319f6c186283b530f8c975e66c028433",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -478,11 +478,11 @@
}, },
"mnw": { "mnw": {
"locked": { "locked": {
"lastModified": 1744597985, "lastModified": 1746230955,
"narHash": "sha256-lLYB9/tQ0OAKonL0Ku963nqOm0aE1TmLavrzmXAr5Zc=", "narHash": "sha256-X32sM3RQ3X2y6PzfNnX3rhUAlhuITdDOdfSrwZXjlsQ=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "mnw", "repo": "mnw",
"rev": "cbdcbb5f8eb24e25b932bbc87e29299a72e34b64", "rev": "2a1678ba8e4807bd855dd0da94ea2bef5bca733d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -584,11 +584,11 @@
}, },
"nixpkgs-master": { "nixpkgs-master": {
"locked": { "locked": {
"lastModified": 1745768022, "lastModified": 1746282617,
"narHash": "sha256-MI2gEUT4xlnKE0pUJ/WmW6ML3IFiqGRD6Fize/SiY7M=", "narHash": "sha256-UzqYxLJbt8zWdW5a7qVO4gCWEQySil0oXawIlJjctK4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "488d37d95bb5de4ad38cbd647e792574b7147800", "rev": "bd04914cf9caebd3572838a6d1078dade8300037",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -600,11 +600,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1745487689, "lastModified": 1746183838,
"narHash": "sha256-FQoi3R0NjQeBAsEOo49b5tbDPcJSMWc3QhhaIi9eddw=", "narHash": "sha256-kwaaguGkAqTZ1oK0yXeQ3ayYjs8u/W7eEfrFpFfIDFA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5630cf13cceac06cefe9fc607e8dfa8fb342dde3", "rev": "bf3287dac860542719fe7554e21e686108716879",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -616,11 +616,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1745526057, "lastModified": 1746141548,
"narHash": "sha256-ITSpPDwvLBZBnPRS2bUcHY3gZSwis/uTe255QgMtTLA=", "narHash": "sha256-IgBWhX7A2oJmZFIrpRuMnw5RAufVnfvOgHWgIdds+hc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f771eb401a46846c1aebd20552521b233dd7e18b", "rev": "f02fddb8acef29a8b32f10a335d44828d7825b78",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -632,11 +632,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1745526057, "lastModified": 1746141548,
"narHash": "sha256-ITSpPDwvLBZBnPRS2bUcHY3gZSwis/uTe255QgMtTLA=", "narHash": "sha256-IgBWhX7A2oJmZFIrpRuMnw5RAufVnfvOgHWgIdds+hc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f771eb401a46846c1aebd20552521b233dd7e18b", "rev": "f02fddb8acef29a8b32f10a335d44828d7825b78",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -648,11 +648,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1745234285, "lastModified": 1745930157,
"narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=", "narHash": "sha256-y3h3NLnzRSiUkYpnfvnS669zWZLoqqI6NprtLQ+5dck=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c11863f1e964833214b767f4a369c6e6a7aba141", "rev": "46e634be05ce9dc6d4db8e664515ba10b78151ae",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -669,11 +669,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1745771698, "lastModified": 1746277541,
"narHash": "sha256-1/87FqzayivqtFS/yFqHNBsSlY3hP6CTcsq8Wj9qDrI=", "narHash": "sha256-s4tgQNomZhgero1ALP7SwNIagbT7yOnKVvjqcq2qxFY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "f33c7bc8d22cbbc2fa932e283746eacd05944b17", "rev": "7d89a2092973370db813fe87ab45d7bb5c4e1edd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -692,11 +692,11 @@
"treefmt-nix": "treefmt-nix_2" "treefmt-nix": "treefmt-nix_2"
}, },
"locked": { "locked": {
"lastModified": 1745459908, "lastModified": 1746056780,
"narHash": "sha256-bWqgohVf/py9EW3bLS/dYbenD2p9N2/Qsw1+CJk1S04=", "narHash": "sha256-/emueQGaoT4vu0QjU9LDOG5roxRSfdY0K2KkxuzazcM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "dbc4ba3233b2bf951521177bf0ee0a7679959035", "rev": "d476cd0972dd6242d76374fcc277e6735715c167",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -717,11 +717,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1745724418, "lastModified": 1746251508,
"narHash": "sha256-OBzNjF+ul741p5pfl1Ym2lE7psr0QF/QjOGRLpCpz+0=", "narHash": "sha256-AOvwSvFmcQ+N9554XxGDhYBL1DigrJeau5Mz9muvF54=",
"owner": "notashelf", "owner": "notashelf",
"repo": "nvf", "repo": "nvf",
"rev": "bb3ca63d21cd05c197e2df9da6ee2c7eaa8e7672", "rev": "f7c35ab3422b35f3af422f4f896bd79a9ba30ee4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -880,11 +880,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1745618823, "lastModified": 1746223791,
"narHash": "sha256-WGKSI0+CY3Ep2YnRASmBRU8oMIvTW4ngFyjA0dVcKgQ=", "narHash": "sha256-R/DWYbY+Yr/QULujNlozfBUU2s9nZPoRikjIGPTYcR8=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "11ceb2fde1901dc227421bbbef2d0800339f5126", "rev": "953e7247ac340e5036f8af47eaccf1a23f1a0257",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,11 +1,6 @@
{ {pkgs, ...}: {
config, programs.floorp = {
pkgs,
...
}: {
programs.firefox = {
enable = true; enable = true;
# package = pkgs.librewolf;
profiles.blue = { profiles.blue = {
isDefault = true; isDefault = true;
id = 0; id = 0;
@ -26,8 +21,8 @@
shinigami-eyes shinigami-eyes
]; ];
search = { search = {
default = "ddg"; # Set search engine to DuckDuckGo # default = "ddg"; # Set search engine to DuckDuckGo
force = true; # Prevents annoying error when rebuilding # force = true; # Prevents annoying error when rebuilding
}; };
settings = { settings = {
"browser.search.region" = "GB"; "browser.search.region" = "GB";
@ -45,6 +40,8 @@
"DisablePocket" = true; "DisablePocket" = true;
"AutofillAddressEnabled" = false; "AutofillAddressEnabled" = false;
"AutofillCreditCardEnabled" = false; "AutofillCreditCardEnabled" = false;
"DisableFirefoxAccounts" = true;
"PasswordManagerEnabled" = false;
}; };
}; };
} }

View file

@ -21,6 +21,7 @@
./stylix.nix ./stylix.nix
./direnv.nix ./direnv.nix
./firefox.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 # 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
@ -63,6 +64,7 @@
# Set default editor # Set default editor
EDITOR = "nvim"; EDITOR = "nvim";
NIXOS_OZONE_WL = 1; 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. # Let Home Manager install and manage itself.

View file

@ -5,6 +5,9 @@
xwayland.enable = true; xwayland.enable = true;
systemd.variables = ["--all"]; systemd.variables = ["--all"];
settings = { settings = {
misc = {
enable_anr_dialog = false;
};
# Monitor config for home desk layout # Monitor config for home desk layout
monitor = [ monitor = [
"eDP-2, 2560x1600@165, 0x0, auto" # main laptop monitor "eDP-2, 2560x1600@165, 0x0, auto" # main laptop monitor
@ -13,6 +16,8 @@
]; ];
workspace = [ workspace = [
"name:comms, monitor:desc:Lenovo Group Limited LEN G24-10 U5B4KL78, default:true" "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 # Define SUPER key as mod key
@ -38,9 +43,13 @@
]; ];
exec-once = [ exec-once = [
"[workspace name:comms silent; move -100%,100%] telegram-desktop" "[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%] 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" "[workspace name:comms silent; move 100%,-100%] vesktop"
"[workspace name:bg_noise] floorp https://www.youtube.com/playlist?list=WL"
"[workspace name:main] alacritty"
]; ];
# Declare all keybinds # Declare all keybinds
@ -48,9 +57,9 @@
# Keybind for setting fullscreen # Keybind for setting fullscreen
"$mod, F11, fullscreen" "$mod, F11, fullscreen"
# Keybinds for starting programs # Keybinds for starting programs
"$mod, F, exec, firefox" "$mod, F, exec, floorp"
"$mod, 1, exec, alacritty" "$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'" "$mod, space, exec, zsh -c 'wofi --show drun, run'"
# Screenshot tool # Screenshot tool

View file

@ -31,7 +31,7 @@
}; };
polarity = "dark"; polarity = "dark";
targets = { targets = {
firefox.profileNames = ["blue"]; floorp.profileNames = ["blue"];
}; };
}; };
} }

8
home-manager/zellij.nix Normal file
View file

@ -0,0 +1,8 @@
{...}: {
programs.zellij = {
enable = true;
enableZshIntegration = true;
exitShellOnExit = true;
attachExistingSession = true;
};
}