summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Schanzenbacher <ryan@rschanz.org>2024-11-14 14:53:44 -0500
committerRyan Schanzenbacher <ryan@rschanz.org>2024-11-14 14:53:44 -0500
commita04498c0b18d6fdf7e600dd9c8b5e7db781c21f3 (patch)
treee52aee2a32cace262f5acee2d2397240e3b39cf8
parentbdb08351ce1afc15264658bcbb6ec03144874759 (diff)
Changed firefox to use nix configuration, completely reset profile. No
longer using mozilla account. Updated nixpkgs and home-manager Added wpaperd flake
-rw-r--r--home-config/home-configuration.scm2
-rw-r--r--home-config/hypr/hyprland.conf10
-rw-r--r--home-config/nix-home-manager/flake.lock231
-rw-r--r--home-config/nix-home-manager/flake.nix17
-rw-r--r--home-config/nix-home-manager/home.nix323
5 files changed, 502 insertions, 81 deletions
diff --git a/home-config/home-configuration.scm b/home-config/home-configuration.scm
index 683f6aa..d2b9c24 100644
--- a/home-config/home-configuration.scm
+++ b/home-config/home-configuration.scm
@@ -167,7 +167,7 @@
167 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim")) 167 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
168 (".ssh/config" ,(local-file "ssh/config")) 168 (".ssh/config" ,(local-file "ssh/config"))
169 (".icons" ,(local-file "icons" #:recursive? #t)) 169 (".icons" ,(local-file "icons" #:recursive? #t))
170 (".mozilla/native-messaging-hosts/tridactyl.json" ,(local-file "tridactyl/tridactyl.json")) 170 ;(".mozilla/native-messaging-hosts/tridactyl.json" ,(local-file "tridactyl/tridactyl.json"))
171 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol")) 171 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
172 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf")) 172 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
173 (".local/share/fonts" ,(local-file "fonts" #:recursive? #t)) 173 (".local/share/fonts" ,(local-file "fonts" #:recursive? #t))
diff --git a/home-config/hypr/hyprland.conf b/home-config/hypr/hyprland.conf
index 12e97c5..97cb767 100644
--- a/home-config/hypr/hyprland.conf
+++ b/home-config/hypr/hyprland.conf
@@ -74,10 +74,12 @@ decoration {
74 new_optimizations = on 74 new_optimizations = on
75 } 75 }
76 76
77 drop_shadow = yes 77 shadow {
78 shadow_range = 4 78 enabled = true
79 shadow_render_power = 3 79 range = 4
80 col.shadow = rgba(1a1a1aee) 80 render_power = 3
81 color = rgba(1a1a1aee)
82 }
81} 83}
82 84
83animations { 85animations {
diff --git a/home-config/nix-home-manager/flake.lock b/home-config/nix-home-manager/flake.lock
index b6d3733..12fae6f 100644
--- a/home-config/nix-home-manager/flake.lock
+++ b/home-config/nix-home-manager/flake.lock
@@ -20,11 +20,11 @@
20 ] 20 ]
21 }, 21 },
22 "locked": { 22 "locked": {
23 "lastModified": 1729527199, 23 "lastModified": 1730968822,
24 "narHash": "sha256-D5/YksfRga8Akd04ZtIkuYSIOjXVrAzQIQBSeplokzU=", 24 "narHash": "sha256-NocDjINsh6ismkhb0Xr6xPRksmhuB2WGf8ZmXMhxu7Y=",
25 "owner": "hyprwm", 25 "owner": "hyprwm",
26 "repo": "aquamarine", 26 "repo": "aquamarine",
27 "rev": "8d732fa8aff8b12ef2b1e2f00fc8153e41312b72", 27 "rev": "a49bc3583ff223f426cb3526fdaa4bcaa247ec14",
28 "type": "github" 28 "type": "github"
29 }, 29 },
30 "original": { 30 "original": {
@@ -33,6 +33,22 @@
33 "type": "github" 33 "type": "github"
34 } 34 }
35 }, 35 },
36 "flake-compat": {
37 "flake": false,
38 "locked": {
39 "lastModified": 1696426674,
40 "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
41 "owner": "edolstra",
42 "repo": "flake-compat",
43 "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
44 "type": "github"
45 },
46 "original": {
47 "owner": "edolstra",
48 "repo": "flake-compat",
49 "type": "github"
50 }
51 },
36 "flake-utils": { 52 "flake-utils": {
37 "locked": { 53 "locked": {
38 "lastModified": 1659877975, 54 "lastModified": 1659877975,
@@ -48,6 +64,28 @@
48 "type": "github" 64 "type": "github"
49 } 65 }
50 }, 66 },
67 "gitignore": {
68 "inputs": {
69 "nixpkgs": [
70 "hyprland",
71 "pre-commit-hooks",
72 "nixpkgs"
73 ]
74 },
75 "locked": {
76 "lastModified": 1709087332,
77 "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
78 "owner": "hercules-ci",
79 "repo": "gitignore.nix",
80 "rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
81 "type": "github"
82 },
83 "original": {
84 "owner": "hercules-ci",
85 "repo": "gitignore.nix",
86 "type": "github"
87 }
88 },
51 "home-manager": { 89 "home-manager": {
52 "inputs": { 90 "inputs": {
53 "nixpkgs": [ 91 "nixpkgs": [
@@ -55,17 +93,17 @@
55 ] 93 ]
56 }, 94 },
57 "locked": { 95 "locked": {
58 "lastModified": 1729321331, 96 "lastModified": 1731604581,
59 "narHash": "sha256-KVyQq+ez/oB30/WbdNgVD8g/bda34z8NiU187QKQb74=", 97 "narHash": "sha256-Qq2YZZaDTB3FZLWU/Hgh1uuWlUBl3cMLGB99bm7rFUM=",
60 "owner": "nix-community", 98 "owner": "nix-community",
61 "repo": "home-manager", 99 "repo": "home-manager",
62 "rev": "122f70545b29ccb922e655b08acfe05bfb44ec68", 100 "rev": "1d0862ee2d7c6f6cd720d6f32213fa425004be10",
63 "type": "github" 101 "type": "github"
64 }, 102 },
65 "original": { 103 "original": {
66 "owner": "nix-community", 104 "owner": "nix-community",
67 "repo": "home-manager", 105 "repo": "home-manager",
68 "rev": "122f70545b29ccb922e655b08acfe05bfb44ec68", 106 "rev": "1d0862ee2d7c6f6cd720d6f32213fa425004be10",
69 "type": "github" 107 "type": "github"
70 } 108 }
71 }, 109 },
@@ -109,20 +147,21 @@
109 "nixpkgs": [ 147 "nixpkgs": [
110 "nixpkgs" 148 "nixpkgs"
111 ], 149 ],
150 "pre-commit-hooks": "pre-commit-hooks",
112 "systems": "systems", 151 "systems": "systems",
113 "xdph": "xdph" 152 "xdph": "xdph"
114 }, 153 },
115 "locked": { 154 "locked": {
116 "lastModified": 1728478479, 155 "lastModified": 1731162467,
117 "narHash": "sha256-AbfdIlK92oWpI39xlIaUekPeL9u95sXzxVsSqhIMfIc=", 156 "narHash": "sha256-b0w2XOVCuEdBIiTpKaaeSesKux1Q51YWEWdKbljDXPE=",
118 "owner": "hyprwm", 157 "owner": "hyprwm",
119 "repo": "hyprland", 158 "repo": "hyprland",
120 "rev": "4520b30d498daca8079365bdb909a8dea38e8d55", 159 "rev": "a425fbebe4cf4238e48a42f724ef2208959d66cf",
121 "type": "github" 160 "type": "github"
122 }, 161 },
123 "original": { 162 "original": {
124 "owner": "hyprwm", 163 "owner": "hyprwm",
125 "ref": "v0.44.1", 164 "ref": "v0.45.0",
126 "repo": "hyprland", 165 "repo": "hyprland",
127 "type": "github" 166 "type": "github"
128 } 167 }
@@ -152,33 +191,6 @@
152 "type": "github" 191 "type": "github"
153 } 192 }
154 }, 193 },
155 "hyprland-protocols_2": {
156 "inputs": {
157 "nixpkgs": [
158 "hyprland",
159 "xdph",
160 "nixpkgs"
161 ],
162 "systems": [
163 "hyprland",
164 "xdph",
165 "systems"
166 ]
167 },
168 "locked": {
169 "lastModified": 1728345020,
170 "narHash": "sha256-xGbkc7U/Roe0/Cv3iKlzijIaFBNguasI31ynL2IlEoM=",
171 "owner": "hyprwm",
172 "repo": "hyprland-protocols",
173 "rev": "a7c183800e74f337753de186522b9017a07a8cee",
174 "type": "github"
175 },
176 "original": {
177 "owner": "hyprwm",
178 "repo": "hyprland-protocols",
179 "type": "github"
180 }
181 },
182 "hyprlang": { 194 "hyprlang": {
183 "inputs": { 195 "inputs": {
184 "hyprutils": [ 196 "hyprutils": [
@@ -244,11 +256,11 @@
244 ] 256 ]
245 }, 257 },
246 "locked": { 258 "locked": {
247 "lastModified": 1728941256, 259 "lastModified": 1730968903,
248 "narHash": "sha256-WRypmcZ2Bw94lLmcmxYokVOHPJSZ7T06V49QZ4tkZeQ=", 260 "narHash": "sha256-zFvzLXcSm0Ia4XI1SE4FQ9KE63hlGrRWhLtwMolWuR8=",
249 "owner": "hyprwm", 261 "owner": "hyprwm",
250 "repo": "hyprutils", 262 "repo": "hyprutils",
251 "rev": "fd4be8b9ca932f7384e454bcd923c5451ef2aa85", 263 "rev": "3ce0cde8709cdacbfba471f8e828433b58a561e9",
252 "type": "github" 264 "type": "github"
253 }, 265 },
254 "original": { 266 "original": {
@@ -332,21 +344,6 @@
332 "type": "github" 344 "type": "github"
333 } 345 }
334 }, 346 },
335 "mozff": {
336 "locked": {
337 "lastModified": 1704373101,
338 "narHash": "sha256-+gi59LRWRQmwROrmE1E2b3mtocwueCQqZ60CwLG+gbg=",
339 "owner": "mozilla",
340 "repo": "nixpkgs-mozilla",
341 "rev": "9b11a87c0cc54e308fa83aac5b4ee1816d5418a2",
342 "type": "github"
343 },
344 "original": {
345 "owner": "mozilla",
346 "repo": "nixpkgs-mozilla",
347 "type": "github"
348 }
349 },
350 "nixgl": { 347 "nixgl": {
351 "inputs": { 348 "inputs": {
352 "flake-utils": "flake-utils", 349 "flake-utils": "flake-utils",
@@ -371,17 +368,57 @@
371 }, 368 },
372 "nixpkgs": { 369 "nixpkgs": {
373 "locked": { 370 "locked": {
374 "lastModified": 1729168305, 371 "lastModified": 1731603729,
375 "narHash": "sha256-jmhxZnrlOyLEMUL2+JkVfkN0XWXI5uE6EB5kVZFR0fo=", 372 "narHash": "sha256-ChqaWsSIi+8zprudu16K3MskXr7iORzMGmYutWHCmKQ=",
376 "owner": "nixos", 373 "owner": "nixos",
377 "repo": "nixpkgs", 374 "repo": "nixpkgs",
378 "rev": "2a55bdc8cfcf41551323a4a6cef24d3f566c824d", 375 "rev": "f49e820fbc9450736bb6ba982a2ff0a8d014ad1e",
379 "type": "github" 376 "type": "github"
380 }, 377 },
381 "original": { 378 "original": {
382 "owner": "nixos", 379 "owner": "nixos",
383 "repo": "nixpkgs", 380 "repo": "nixpkgs",
384 "rev": "2a55bdc8cfcf41551323a4a6cef24d3f566c824d", 381 "rev": "f49e820fbc9450736bb6ba982a2ff0a8d014ad1e",
382 "type": "github"
383 }
384 },
385 "nixpkgs-stable": {
386 "locked": {
387 "lastModified": 1730741070,
388 "narHash": "sha256-edm8WG19kWozJ/GqyYx2VjW99EdhjKwbY3ZwdlPAAlo=",
389 "owner": "NixOS",
390 "repo": "nixpkgs",
391 "rev": "d063c1dd113c91ab27959ba540c0d9753409edf3",
392 "type": "github"
393 },
394 "original": {
395 "owner": "NixOS",
396 "ref": "nixos-24.05",
397 "repo": "nixpkgs",
398 "type": "github"
399 }
400 },
401 "pre-commit-hooks": {
402 "inputs": {
403 "flake-compat": "flake-compat",
404 "gitignore": "gitignore",
405 "nixpkgs": [
406 "hyprland",
407 "nixpkgs"
408 ],
409 "nixpkgs-stable": "nixpkgs-stable"
410 },
411 "locked": {
412 "lastModified": 1730814269,
413 "narHash": "sha256-fWPHyhYE6xvMI1eGY3pwBTq85wcy1YXqdzTZF+06nOg=",
414 "owner": "cachix",
415 "repo": "git-hooks.nix",
416 "rev": "d70155fdc00df4628446352fc58adc640cd705c2",
417 "type": "github"
418 },
419 "original": {
420 "owner": "cachix",
421 "repo": "git-hooks.nix",
385 "type": "github" 422 "type": "github"
386 } 423 }
387 }, 424 },
@@ -390,9 +427,30 @@
390 "home-manager": "home-manager", 427 "home-manager": "home-manager",
391 "hyprland": "hyprland", 428 "hyprland": "hyprland",
392 "hyprpicker-git": "hyprpicker-git", 429 "hyprpicker-git": "hyprpicker-git",
393 "mozff": "mozff",
394 "nixgl": "nixgl", 430 "nixgl": "nixgl",
395 "nixpkgs": "nixpkgs" 431 "nixpkgs": "nixpkgs",
432 "wpaperd": "wpaperd"
433 }
434 },
435 "rust-overlay": {
436 "inputs": {
437 "nixpkgs": [
438 "wpaperd",
439 "nixpkgs"
440 ]
441 },
442 "locked": {
443 "lastModified": 1729391507,
444 "narHash": "sha256-as0I9xieJUHf7kiK2a9znDsVZQTFWhM1pLivII43Gi0=",
445 "owner": "oxalica",
446 "repo": "rust-overlay",
447 "rev": "784981a9feeba406de38c1c9a3decf966d853cca",
448 "type": "github"
449 },
450 "original": {
451 "owner": "oxalica",
452 "repo": "rust-overlay",
453 "type": "github"
396 } 454 }
397 }, 455 },
398 "systems": { 456 "systems": {
@@ -425,9 +483,50 @@
425 "type": "github" 483 "type": "github"
426 } 484 }
427 }, 485 },
486 "systems_3": {
487 "locked": {
488 "lastModified": 1689347949,
489 "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
490 "owner": "nix-systems",
491 "repo": "default-linux",
492 "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
493 "type": "github"
494 },
495 "original": {
496 "owner": "nix-systems",
497 "repo": "default-linux",
498 "type": "github"
499 }
500 },
501 "wpaperd": {
502 "inputs": {
503 "nixpkgs": [
504 "nixpkgs"
505 ],
506 "rust-overlay": "rust-overlay",
507 "systems": "systems_3"
508 },
509 "locked": {
510 "lastModified": 1731514601,
511 "narHash": "sha256-NnDxLG02klftsWl8i8ZmRIUeIPCx2HtBsEFQwzbJ3ws=",
512 "owner": "danyspin97",
513 "repo": "wpaperd",
514 "rev": "7865433233ff58f33ca4af94fd5031e26f409f52",
515 "type": "github"
516 },
517 "original": {
518 "owner": "danyspin97",
519 "repo": "wpaperd",
520 "rev": "7865433233ff58f33ca4af94fd5031e26f409f52",
521 "type": "github"
522 }
523 },
428 "xdph": { 524 "xdph": {
429 "inputs": { 525 "inputs": {
430 "hyprland-protocols": "hyprland-protocols_2", 526 "hyprland-protocols": [
527 "hyprland",
528 "hyprland-protocols"
529 ],
431 "hyprlang": [ 530 "hyprlang": [
432 "hyprland", 531 "hyprland",
433 "hyprlang" 532 "hyprlang"
@@ -450,11 +549,11 @@
450 ] 549 ]
451 }, 550 },
452 "locked": { 551 "locked": {
453 "lastModified": 1728166987, 552 "lastModified": 1730743262,
454 "narHash": "sha256-w6dVTguAn9zJ+7aPOhBQgDz8bn6YZ7b56cY8Kg5HJRI=", 553 "narHash": "sha256-iTLqj3lU8kFehPm5tXpctzkD274t/k1nwSSq3qCWXeg=",
455 "owner": "hyprwm", 554 "owner": "hyprwm",
456 "repo": "xdg-desktop-portal-hyprland", 555 "repo": "xdg-desktop-portal-hyprland",
457 "rev": "fb9c8d665af0588bb087f97d0f673ddf0d501787", 556 "rev": "09b23cef06fe248e61cec8862c04b9bcb62f4b6d",
458 "type": "github" 557 "type": "github"
459 }, 558 },
460 "original": { 559 "original": {
diff --git a/home-config/nix-home-manager/flake.nix b/home-config/nix-home-manager/flake.nix
index becb34f..26bc72e 100644
--- a/home-config/nix-home-manager/flake.nix
+++ b/home-config/nix-home-manager/flake.nix
@@ -3,9 +3,9 @@
3 3
4 inputs = { 4 inputs = {
5 # Specify the source of Home Manager and Nixpkgs. 5 # Specify the source of Home Manager and Nixpkgs.
6 nixpkgs.url = "github:nixos/nixpkgs/2a55bdc8cfcf41551323a4a6cef24d3f566c824d"; 6 nixpkgs.url = "github:nixos/nixpkgs/f49e820fbc9450736bb6ba982a2ff0a8d014ad1e";
7 home-manager = { 7 home-manager = {
8 url = "github:nix-community/home-manager/122f70545b29ccb922e655b08acfe05bfb44ec68"; 8 url = "github:nix-community/home-manager/1d0862ee2d7c6f6cd720d6f32213fa425004be10";
9 inputs.nixpkgs.follows = "nixpkgs"; 9 inputs.nixpkgs.follows = "nixpkgs";
10 }; 10 };
11 hyprpicker-git = { 11 hyprpicker-git = {
@@ -13,24 +13,28 @@
13 inputs.nixpkgs.follows = "nixpkgs"; 13 inputs.nixpkgs.follows = "nixpkgs";
14 }; 14 };
15 hyprland = { 15 hyprland = {
16 url = "github:hyprwm/hyprland/v0.44.1"; 16 url = "github:hyprwm/hyprland/v0.45.0";
17 inputs.nixpkgs.follows = "nixpkgs"; 17 inputs.nixpkgs.follows = "nixpkgs";
18 }; 18 };
19 nixgl = { 19 nixgl = {
20 url = "github:nix-community/nixGL/310f8e49a149e4c9ea52f1adf70cdc768ec53f8a"; 20 url = "github:nix-community/nixGL/310f8e49a149e4c9ea52f1adf70cdc768ec53f8a";
21 inputs.nixpkgs.follows = "nixpkgs"; 21 inputs.nixpkgs.follows = "nixpkgs";
22 }; 22 };
23 mozff.url = "github:mozilla/nixpkgs-mozilla"; 23 wpaperd = {
24 url = "github:danyspin97/wpaperd/7865433233ff58f33ca4af94fd5031e26f409f52";
25 inputs.nixpkgs.follows = "nixpkgs";
26 };
27 #mozff.url = "github:mozilla/nixpkgs-mozilla";
24 }; 28 };
25 29
26 outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, nixgl, mozff, ... }@inputs: 30 outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, nixgl, wpaperd, ... }@inputs:
27 let 31 let
28 system = "x86_64-linux"; 32 system = "x86_64-linux";
29 pkgs = nixpkgs.legacyPackages.${system}; 33 pkgs = nixpkgs.legacyPackages.${system};
30 overlays = [ 34 overlays = [
31 hyprpicker-git.overlays.default 35 hyprpicker-git.overlays.default
32 nixgl.overlay 36 nixgl.overlay
33 mozff.overlays.firefox 37 #mozff.overlays.firefox
34 ]; 38 ];
35 in { 39 in {
36 homeConfigurations."ryan" = home-manager.lib.homeManagerConfiguration { 40 homeConfigurations."ryan" = home-manager.lib.homeManagerConfiguration {
@@ -45,6 +49,7 @@
45 _module.args = { 49 _module.args = {
46 inherit hyprland; 50 inherit hyprland;
47 inherit nixgl; 51 inherit nixgl;
52 inherit wpaperd;
48 }; 53 };
49 } 54 }
50 ]; 55 ];
diff --git a/home-config/nix-home-manager/home.nix b/home-config/nix-home-manager/home.nix
index 65afdd3..41c7c83 100644
--- a/home-config/nix-home-manager/home.nix
+++ b/home-config/nix-home-manager/home.nix
@@ -1,5 +1,14 @@
1{ config, pkgs, hyprland, nixgl, ... }: 1{ config, pkgs, hyprland, nixgl, wpaperd, ... }:
2 2 let
3 lock-false = {
4 Value = false;
5 Status = "locked";
6 };
7 lock-true = {
8 Value = true;
9 Status = "locked";
10 };
11 in
3{ 12{
4 # Home Manager needs a bit of information about you and the paths it should 13 # Home Manager needs a bit of information about you and the paths it should
5 # manage. 14 # manage.
@@ -28,6 +37,311 @@
28 37
29 # wayland.windowManager.hyprland.enable = true; 38 # wayland.windowManager.hyprland.enable = true;
30 39
40 # Install firefox and add some customizations
41 programs.firefox = {
42 enable = true;
43 policies = {
44 EnableTrackingProtection = {
45 Value = true;
46 Locked = true;
47 Cryptomining = true;
48 Fingerprinting = true;
49 EmailTracking = true;
50 };
51 UserMessaging = {
52 WhatsNew = false;
53 ExtensionRecommendations = false;
54 FeatureRecommendations = false;
55 UrlbarInterventions = false;
56 SkipOnboarding = true;
57 MoreFromMozilla = false;
58 Labs = false;
59 Locked = true;
60 };
61 DisableAppUpdate = true;
62 DisableAccounts = true;
63 DisableFirefoxAccounts = true;
64 DisableFirefoxStudies = true;
65 DisablePocket = true;
66 DisableTelemetry = true;
67 AutofillAddressEnabled = false;
68 AutofillCreditCardEnabled = false;
69 DisableMasterPasswordCreation = true;
70 PasswordManagerEnabled = false;
71 PrimaryPassword = false;
72 OfferToSaveLogins = false;
73 NoDefaultBookmarks = true;
74 OverrideFirstRunPage = "";
75 OverridePostUpdatePage = "";
76 FirefoxHome = {
77 Search = true;
78 TopSites = true;
79 SponsoredTopSites = false;
80 Highlights = false;
81 Pocket = false;
82 SponsoredPocket = false;
83 Snippets = false;
84 Locked = true;
85 };
86 SearchSuggestEnabled = true;
87 FirefoxSuggest = {
88 WebSuggestions = true;
89 SponsoredSuggestions = false;
90 ImproveSuggest = false;
91 Locked = true;
92 };
93 PictureInPicture = lock-true;
94 HardwareAcceleration = true;
95 Certificates = {
96 ImportEnterpriseRoots = true;
97 };
98 ExtensionSettings = {
99 #"*".installation_mode = "blocked";
100 # uBlock Origin
101 "uBlock0@raymondhill.net" = {
102 install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
103 installation_mode = "force_installed";
104 };
105 # Bitwarden
106 "{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
107 install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
108 installation_mode = "force_installed";
109 };
110 # SponsorBlock
111 "sponsorBlocker@ajay.app" = {
112 install_url = "https://addons.mozilla.org/firefox/downloads/latest/sponsorblock/latest.xpi";
113 installation_mode = "force_installed";
114 };
115 # DeArrow
116 "deArrow@ajay.app" = {
117 install_url = "https://addons.mozilla.org/firefox/downloads/latest/dearrow/latest.xpi";
118 installation_mode = "force_installed";
119 };
120 # Return Youtube Dislike
121 "{762f9885-5a13-4abd-9c77-433dcd38b8fd}" = {
122 install_url = "https://addons.mozilla.org/firefox/downloads/latest/return-youtube-dislikes/latest.xpi";
123 installation_mode = "force_installed";
124 };
125 # Youtube Nonstop
126 "{0d7cafdd-501c-49ca-8ebb-e3341caaa55e}" = {
127 install_url = "https://addons.mozilla.org/firefox/downloads/latest/youtube-nonstop/latest.xpi";
128 installation_mode = "force_installed";
129 };
130 # Sidebery
131 "{3c078156-979c-498b-8990-85f7987dd929}" = {
132 install_url = "https://addons.mozilla.org/firefox/downloads/latest/sidebery/latest.xpi";
133 installation_mode = "normal_installed";
134 };
135 # TamperMonkey
136 "firefox@tampermonkey.net" = {
137 install_url = "https://addons.mozilla.org/firefox/downloads/latest/tampermonkey/latest.xpi";
138 installation_mode = "force_installed";
139 };
140 # Floccus
141 "floccus@handmadeideas.org" = {
142 install_url = "https://addons.mozilla.org/firefox/downloads/latest/floccus/latest.xpi";
143 installation_mode = "force_installed";
144 };
145 };
146 Preferences = {
147 "browser.startup.homepage" = "https://d.in.rschanz.org";
148 "extensions.activeThemeID" = {
149 Value = "firefox-compact-dark@mozilla.org";
150 Status = "locked";
151 };
152 "toolkit.legacyUserProfileCustomizations.stylesheets" = lock-true;
153 "xpinstall.whitelist.required" = lock-true;
154 "dom.webgpu.enabled" = lock-true;
155 "media.eme.enabled" = lock-true;
156 "general.autoScroll" = lock-true;
157 "general.smoothScroll" = lock-true;
158 "browser.crashReports.unsubmittedCheck.autoSubmit2" = lock-false;
159 "browser.aboutConfig.showWarning" = lock-false;
160 };
161 };
162 profiles.${config.home.username} = {
163 name = "${config.home.username}";
164 isDefault = true;
165 containersForce = true;
166 containers = {
167 rit = {
168 name = "RIT";
169 color = "orange";
170 icon = "dollar";
171 id = 1;
172 };
173 ritwork = {
174 name = "RIT Work";
175 color = "green";
176 icon = "briefcase";
177 id = 2;
178 };
179 other = {
180 name = "Other";
181 color = "blue";
182 icon = "fingerprint";
183 id = 3;
184 };
185 };
186 search = {
187 force = true;
188 default = "DuckDuckGo";
189 order = ["DuckDuckGo" "Google"];
190 engines = {
191 "Nix Packages" = {
192 urls = [
193 {
194 template = "https://search.nixos.org/packages";
195 params = [
196 {
197 name = "type";
198 value = "packages";
199 }
200 {
201 name = "channel";
202 value = "unstable";
203 }
204 {
205 name = "query";
206 value = "{searchTerms}";
207 }
208 ];
209 }
210 ];
211 icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
212 definedAliases = ["@np"];
213 };
214 };
215 };
216 userChrome = "
217 #main-window #titlebar {
218 overflow: hidden;
219 transition: height 0.3s 0.3s !important;
220 }
221 /* Default state: Set initial height to enable animation */
222 #main-window #titlebar { height: 3em !important; }
223 #main-window[uidensity=\"touch\"] #titlebar { height: 3.35em !important; }
224 #main-window[uidensity=\"compact\"] #titlebar { height: 2.7em !important; }
225 /* Hidden state: Hide native tabs strip */
226 #main-window[titlepreface*=\"​\"] #titlebar { height: 0 !important; }
227 /* Hidden state: Fix z-index of active pinned tabs */
228 #main-window[titlepreface*=\"​\"] #tabbrowser-tabs { z-index: 0 !important; }
229
230 /* Sidebery expand on mouse-over and hide otherwise */
231
232 /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_sidebar.css made available under Mozilla Public License v. 2.0
233 See the above repository for updates as well as full license text. */
234
235 /* Show sidebar only when the cursor is over it */
236 /* The border controlling sidebar width will be removed so you'll need to modify these values to change width */
237
238 #sidebar-box{
239 --uc-sidebar-width: 60px;
240 --uc-sidebar-hover-width: 230px;
241 --uc-autohide-sidebar-delay: 200ms; /* Wait 0.2s before hiding sidebar */
242 --uc-autohide-transition-duration: 115ms;
243 --uc-autohide-transition-type: linear;
244 --browser-area-z-index-sidebar: 3;
245 position: relative;
246 min-width: var(--uc-sidebar-width) !important;
247 width: var(--uc-sidebar-width) !important;
248 max-width: var(--uc-sidebar-width) !important;
249 z-index: var(--browser-area-z-index-sidebar,3);
250 }
251 #sidebar-box[positionend]{ direction: rtl }
252 #sidebar-box[positionend] > *{ direction: ltr }
253
254 #sidebar-box[positionend]:-moz-locale-dir(rtl){ direction: ltr }
255 #sidebar-box[positionend]:-moz-locale-dir(rtl) > *{ direction: rtl }
256
257 #main-window[sizemode=\"fullscreen\"] #sidebar-box{ --uc-sidebar-width: 1px; }
258
259 #sidebar-splitter{ display: none }
260
261 #sidebar-header{
262 overflow: hidden;
263 color: var(--chrome-color, inherit) !important;
264 padding-inline: 0 !important;
265 }
266
267 #sidebar-header::before,
268 #sidebar-header::after{
269 content: \"\";
270 display: flex;
271 padding-left: 8px;
272 }
273
274 #sidebar-header,
275 #sidebar{
276 transition: min-width var(--uc-autohide-transition-duration) var(--uc-autohide-transition-type) var(--uc-autohide-sidebar-delay) !important;
277 min-width: var(--uc-sidebar-width) !important;
278 will-change: min-width;
279 }
280 #sidebar-box:hover > #sidebar-header,
281 #sidebar-box:hover > #sidebar{
282 min-width: var(--uc-sidebar-hover-width) !important;
283 transition-delay: 0ms !important;
284 }
285
286 .sidebar-panel{
287 background-color: transparent !important;
288 color: var(--newtab-text-primary-color) !important;
289 }
290
291 .sidebar-panel #search-box{
292 -moz-appearance: none !important;
293 background-color: rgba(249,249,250,0.1) !important;
294 color: inherit !important;
295 }
296
297 /* Add sidebar divider and give it background */
298
299 #sidebar,
300 #sidebar-header{
301 background-color: inherit !important;
302 border-inline: 1px solid rgb(80,80,80);
303 border-inline-width: 0px 1px;
304 }
305
306 #sidebar-box:not([positionend]) > :-moz-locale-dir(rtl),
307 #sidebar-box[positionend] > *{
308 border-inline-width: 1px 0px;
309 }
310
311 /* Move statuspanel to the other side when sidebar is hovered so it doesn't get covered by sidebar */
312
313 #sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel{
314 inset-inline: auto 0px !important;
315 }
316 #sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel-label{
317 margin-inline: 0px !important;
318 border-left-style: solid !important;
319 }
320
321 /* Remove the tabs label and move the Sidebary icon to the center of the box */
322 #sidebar-box:hover [id=\"sidebar-icon\"] {
323 transform: translateX(0px) !important;
324 transition-delay: 0ms !important;
325 }
326
327 #sidebar-box [id=\"sidebar-icon\"] {
328 transform: translateX(9px);
329 transition: transform var(--uc-autohide-transition-duration) var(--uc-autohide-transition-type) var(--uc-autohide-sidebar-delay) !important;
330 }
331
332 #sidebar-box [id=\"sidebar-title\"] {
333 visibility: hidden !important;
334 transition: visibility var(--uc-autohide-transition-duration) var(--uc-autohide-transition-type) var(--uc-autohide-sidebar-delay) !important;
335 }
336
337 #sidebar-box:hover [id=\"sidebar-title\"] {
338 visibility: visible !important;
339 transition-delay: 0ms !important;
340 }
341 ";
342 };
343};
344
31 # The home.packages option allows you to install Nix packages into your 345 # The home.packages option allows you to install Nix packages into your
32 # environment. 346 # environment.
33 home.packages = with pkgs; [ 347 home.packages = with pkgs; [
@@ -56,9 +370,9 @@
56 imv 370 imv
57 libva 371 libva
58 libvdpau 372 libvdpau
59 wpaperd 373 #wpaperd
60 hypridle 374 hypridle
61 latest.firefox-nightly-bin 375 #latest.firefox-nightly-bin
62 eza 376 eza
63 377
64 # Wrapped programs for some env variables 378 # Wrapped programs for some env variables
@@ -72,6 +386,7 @@
72 hyprland.packages.${pkgs.system}.default 386 hyprland.packages.${pkgs.system}.default
73 hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland 387 hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland
74 nixgl.packages.${pkgs.system}.nixGLIntel 388 nixgl.packages.${pkgs.system}.nixGLIntel
389 wpaperd.packages.${pkgs.system}.wpaperd
75 390
76 # Fonts! 391 # Fonts!
77 noto-fonts 392 noto-fonts