diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2025-04-12 19:53:02 -0400 | 
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2025-04-12 19:53:02 -0400 | 
| commit | f77555e18fb06010118d0576aff10acc39242452 (patch) | |
| tree | 2ceaa977da5d25aada67982c3597e5b7ffe9e44a | |
| parent | 04342290047f1b93108e5abab8dfdac11e1e7013 (diff) | |
updated zen (broken policies for now) and hyprland
| -rw-r--r-- | home-config/nix-home-manager/flake.lock | 109 | ||||
| -rw-r--r-- | home-config/nix-home-manager/flake.nix | 16 | ||||
| -rw-r--r-- | home-config/nix-home-manager/home.nix | 33 | 
3 files changed, 86 insertions, 72 deletions
| diff --git a/home-config/nix-home-manager/flake.lock b/home-config/nix-home-manager/flake.lock index 842043e..0b9b192 100644 --- a/home-config/nix-home-manager/flake.lock +++ b/home-config/nix-home-manager/flake.lock | |||
| @@ -103,7 +103,7 @@ | |||
| 103 | }, | 103 | }, | 
| 104 | "flake-utils": { | 104 | "flake-utils": { | 
| 105 | "inputs": { | 105 | "inputs": { | 
| 106 | "systems": "systems_4" | 106 | "systems": "systems_5" | 
| 107 | }, | 107 | }, | 
| 108 | "locked": { | 108 | "locked": { | 
| 109 | "lastModified": 1731533236, | 109 | "lastModified": 1731533236, | 
| @@ -163,17 +163,17 @@ | |||
| 163 | ] | 163 | ] | 
| 164 | }, | 164 | }, | 
| 165 | "locked": { | 165 | "locked": { | 
| 166 | "lastModified": 1742996658, | 166 | "lastModified": 1743639371, | 
| 167 | "narHash": "sha256-snxgTLVq6ooaD3W3mPHu7LVWpoZKczhxHAUZy2ea4oA=", | 167 | "narHash": "sha256-eywYn8ayhVUzFFvIiAIIHn+00Irmhyjqe2cNdyPCLNE=", | 
| 168 | "owner": "nix-community", | 168 | "owner": "nix-community", | 
| 169 | "repo": "home-manager", | 169 | "repo": "home-manager", | 
| 170 | "rev": "693840c01b9bef9e54100239cef937e53d4661bf", | 170 | "rev": "579a71b948533667c6c65e603f18990bdffc8530", | 
| 171 | "type": "github" | 171 | "type": "github" | 
| 172 | }, | 172 | }, | 
| 173 | "original": { | 173 | "original": { | 
| 174 | "owner": "nix-community", | 174 | "owner": "nix-community", | 
| 175 | "repo": "home-manager", | 175 | "repo": "home-manager", | 
| 176 | "rev": "693840c01b9bef9e54100239cef937e53d4661bf", | 176 | "rev": "579a71b948533667c6c65e603f18990bdffc8530", | 
| 177 | "type": "github" | 177 | "type": "github" | 
| 178 | } | 178 | } | 
| 179 | }, | 179 | }, | 
| @@ -188,17 +188,17 @@ | |||
| 188 | ] | 188 | ] | 
| 189 | }, | 189 | }, | 
| 190 | "locked": { | 190 | "locked": { | 
| 191 | "lastModified": 1743278085, | 191 | "lastModified": 1744109570, | 
| 192 | "narHash": "sha256-tbFdT9irSXfM1hPaLIW6uBLy65JbI7kQ7jP0Puo3alM=", | 192 | "narHash": "sha256-wYBn/AETdeQH866IWvNgNt7YrUeLxjhUSWnJzl3+zLM=", | 
| 193 | "owner": "VirtCode", | 193 | "owner": "VirtCode", | 
| 194 | "repo": "hypr-dynamic-cursors", | 194 | "repo": "hypr-dynamic-cursors", | 
| 195 | "rev": "fecc7b9b828d5b58e58d395c6544ed16b180008f", | 195 | "rev": "07a9ca62466edf58a251a3d9d1470f8d502ffee0", | 
| 196 | "type": "github" | 196 | "type": "github" | 
| 197 | }, | 197 | }, | 
| 198 | "original": { | 198 | "original": { | 
| 199 | "owner": "VirtCode", | 199 | "owner": "VirtCode", | 
| 200 | "repo": "hypr-dynamic-cursors", | 200 | "repo": "hypr-dynamic-cursors", | 
| 201 | "rev": "fecc7b9b828d5b58e58d395c6544ed16b180008f", | 201 | "rev": "07a9ca62466edf58a251a3d9d1470f8d502ffee0", | 
| 202 | "type": "github" | 202 | "type": "github" | 
| 203 | } | 203 | } | 
| 204 | }, | 204 | }, | 
| @@ -303,21 +303,21 @@ | |||
| 303 | "nixpkgs" | 303 | "nixpkgs" | 
| 304 | ], | 304 | ], | 
| 305 | "pre-commit-hooks": "pre-commit-hooks", | 305 | "pre-commit-hooks": "pre-commit-hooks", | 
| 306 | "systems": "systems", | 306 | "systems": "systems_2", | 
| 307 | "xdph": "xdph" | 307 | "xdph": "xdph" | 
| 308 | }, | 308 | }, | 
| 309 | "locked": { | 309 | "locked": { | 
| 310 | "lastModified": 1743517238, | 310 | "lastModified": 1744324490, | 
| 311 | "narHash": "sha256-yJaShaC/XQL4bevEB4KmvUav2fns8Ugh+UmB06AYOXE=", | 311 | "narHash": "sha256-NddZqhX+75btNvcxhZD0AVXuAAM4Lnip2c+yrQThSVU=", | 
| 312 | "owner": "hyprwm", | 312 | "owner": "hyprwm", | 
| 313 | "repo": "hyprland", | 313 | "repo": "hyprland", | 
| 314 | "rev": "1f0fd79b910b798e650d6f0c546273bc83422526", | 314 | "rev": "382f0f23f144e11bdccac6c5d3c1ed415b4b1855", | 
| 315 | "type": "github" | 315 | "type": "github" | 
| 316 | }, | 316 | }, | 
| 317 | "original": { | 317 | "original": { | 
| 318 | "owner": "hyprwm", | 318 | "owner": "hyprwm", | 
| 319 | "repo": "hyprland", | 319 | "repo": "hyprland", | 
| 320 | "rev": "1f0fd79b910b798e650d6f0c546273bc83422526", | 320 | "rev": "382f0f23f144e11bdccac6c5d3c1ed415b4b1855", | 
| 321 | "type": "github" | 321 | "type": "github" | 
| 322 | } | 322 | } | 
| 323 | }, | 323 | }, | 
| @@ -481,7 +481,7 @@ | |||
| 481 | "nixpkgs": [ | 481 | "nixpkgs": [ | 
| 482 | "nixpkgs" | 482 | "nixpkgs" | 
| 483 | ], | 483 | ], | 
| 484 | "systems": "systems_2" | 484 | "systems": "systems_3" | 
| 485 | }, | 485 | }, | 
| 486 | "locked": { | 486 | "locked": { | 
| 487 | "lastModified": 1743294814, | 487 | "lastModified": 1743294814, | 
| @@ -505,7 +505,7 @@ | |||
| 505 | "nixpkgs": [ | 505 | "nixpkgs": [ | 
| 506 | "nixpkgs" | 506 | "nixpkgs" | 
| 507 | ], | 507 | ], | 
| 508 | "systems": "systems_3" | 508 | "systems": "systems_4" | 
| 509 | }, | 509 | }, | 
| 510 | "locked": { | 510 | "locked": { | 
| 511 | "lastModified": 1737635601, | 511 | "lastModified": 1737635601, | 
| @@ -524,25 +524,20 @@ | |||
| 524 | }, | 524 | }, | 
| 525 | "hyprutils": { | 525 | "hyprutils": { | 
| 526 | "inputs": { | 526 | "inputs": { | 
| 527 | "nixpkgs": [ | 527 | "nixpkgs": "nixpkgs", | 
| 528 | "hyprland", | 528 | "systems": "systems" | 
| 529 | "nixpkgs" | ||
| 530 | ], | ||
| 531 | "systems": [ | ||
| 532 | "hyprland", | ||
| 533 | "systems" | ||
| 534 | ] | ||
| 535 | }, | 529 | }, | 
| 536 | "locked": { | 530 | "locked": { | 
| 537 | "lastModified": 1741534688, | 531 | "lastModified": 1743950287, | 
| 538 | "narHash": "sha256-EV3945SnjOCuRVbGRghsWx/9D89FyshnSO1Q6/TuQ14=", | 532 | "narHash": "sha256-/6IAEWyb8gC/NKZElxiHChkouiUOrVYNq9YqG0Pzm4Y=", | 
| 539 | "owner": "hyprwm", | 533 | "owner": "hyprwm", | 
| 540 | "repo": "hyprutils", | 534 | "repo": "hyprutils", | 
| 541 | "rev": "dd1f720cbc2dbb3c71167c9598045dd3261d27b3", | 535 | "rev": "f2dc70e448b994cef627a157ee340135bd68fbc6", | 
| 542 | "type": "github" | 536 | "type": "github" | 
| 543 | }, | 537 | }, | 
| 544 | "original": { | 538 | "original": { | 
| 545 | "owner": "hyprwm", | 539 | "owner": "hyprwm", | 
| 540 | "ref": "v0.6.0", | ||
| 546 | "repo": "hyprutils", | 541 | "repo": "hyprutils", | 
| 547 | "type": "github" | 542 | "type": "github" | 
| 548 | } | 543 | } | 
| @@ -756,17 +751,17 @@ | |||
| 756 | }, | 751 | }, | 
| 757 | "nixpkgs": { | 752 | "nixpkgs": { | 
| 758 | "locked": { | 753 | "locked": { | 
| 759 | "lastModified": 1742422364, | 754 | "lastModified": 1744232761, | 
| 760 | "narHash": "sha256-mNqIplmEohk5jRkqYqG19GA8MbQ/D4gQSK0Mu4LvfRQ=", | 755 | "narHash": "sha256-gbl9hE39nQRpZaLjhWKmEu5ejtQsgI5TWYrIVVJn30U=", | 
| 761 | "owner": "nixos", | 756 | "owner": "NixOS", | 
| 762 | "repo": "nixpkgs", | 757 | "repo": "nixpkgs", | 
| 763 | "rev": "a84ebe20c6bc2ecbcfb000a50776219f48d134cc", | 758 | "rev": "f675531bc7e6657c10a18b565cfebd8aa9e24c14", | 
| 764 | "type": "github" | 759 | "type": "github" | 
| 765 | }, | 760 | }, | 
| 766 | "original": { | 761 | "original": { | 
| 767 | "owner": "nixos", | 762 | "owner": "NixOS", | 
| 763 | "ref": "nixos-unstable", | ||
| 768 | "repo": "nixpkgs", | 764 | "repo": "nixpkgs", | 
| 769 | "rev": "a84ebe20c6bc2ecbcfb000a50776219f48d134cc", | ||
| 770 | "type": "github" | 765 | "type": "github" | 
| 771 | } | 766 | } | 
| 772 | }, | 767 | }, | 
| @@ -785,6 +780,22 @@ | |||
| 785 | "type": "github" | 780 | "type": "github" | 
| 786 | } | 781 | } | 
| 787 | }, | 782 | }, | 
| 783 | "nixpkgs_2": { | ||
| 784 | "locked": { | ||
| 785 | "lastModified": 1743583204, | ||
| 786 | "narHash": "sha256-F7n4+KOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE=", | ||
| 787 | "owner": "nixos", | ||
| 788 | "repo": "nixpkgs", | ||
| 789 | "rev": "2c8d3f48d33929642c1c12cd243df4cc7d2ce434", | ||
| 790 | "type": "github" | ||
| 791 | }, | ||
| 792 | "original": { | ||
| 793 | "owner": "nixos", | ||
| 794 | "repo": "nixpkgs", | ||
| 795 | "rev": "2c8d3f48d33929642c1c12cd243df4cc7d2ce434", | ||
| 796 | "type": "github" | ||
| 797 | } | ||
| 798 | }, | ||
| 788 | "pre-commit-hooks": { | 799 | "pre-commit-hooks": { | 
| 789 | "inputs": { | 800 | "inputs": { | 
| 790 | "flake-compat": "flake-compat", | 801 | "flake-compat": "flake-compat", | 
| @@ -818,7 +829,7 @@ | |||
| 818 | "hyprpicker-git": "hyprpicker-git", | 829 | "hyprpicker-git": "hyprpicker-git", | 
| 819 | "mozff": "mozff", | 830 | "mozff": "mozff", | 
| 820 | "nixgl": "nixgl", | 831 | "nixgl": "nixgl", | 
| 821 | "nixpkgs": "nixpkgs", | 832 | "nixpkgs": "nixpkgs_2", | 
| 822 | "wpaperd": "wpaperd", | 833 | "wpaperd": "wpaperd", | 
| 823 | "zen-browser": "zen-browser" | 834 | "zen-browser": "zen-browser" | 
| 824 | } | 835 | } | 
| @@ -891,6 +902,21 @@ | |||
| 891 | }, | 902 | }, | 
| 892 | "systems_4": { | 903 | "systems_4": { | 
| 893 | "locked": { | 904 | "locked": { | 
| 905 | "lastModified": 1689347949, | ||
| 906 | "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", | ||
| 907 | "owner": "nix-systems", | ||
| 908 | "repo": "default-linux", | ||
| 909 | "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", | ||
| 910 | "type": "github" | ||
| 911 | }, | ||
| 912 | "original": { | ||
| 913 | "owner": "nix-systems", | ||
| 914 | "repo": "default-linux", | ||
| 915 | "type": "github" | ||
| 916 | } | ||
| 917 | }, | ||
| 918 | "systems_5": { | ||
| 919 | "locked": { | ||
| 894 | "lastModified": 1681028828, | 920 | "lastModified": 1681028828, | 
| 895 | "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", | 921 | "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", | 
| 896 | "owner": "nix-systems", | 922 | "owner": "nix-systems", | 
| @@ -904,7 +930,7 @@ | |||
| 904 | "type": "github" | 930 | "type": "github" | 
| 905 | } | 931 | } | 
| 906 | }, | 932 | }, | 
| 907 | "systems_5": { | 933 | "systems_6": { | 
| 908 | "locked": { | 934 | "locked": { | 
| 909 | "lastModified": 1689347949, | 935 | "lastModified": 1689347949, | 
| 910 | "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", | 936 | "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", | 
| @@ -925,7 +951,7 @@ | |||
| 925 | "nixpkgs" | 951 | "nixpkgs" | 
| 926 | ], | 952 | ], | 
| 927 | "rust-overlay": "rust-overlay", | 953 | "rust-overlay": "rust-overlay", | 
| 928 | "systems": "systems_5" | 954 | "systems": "systems_6" | 
| 929 | }, | 955 | }, | 
| 930 | "locked": { | 956 | "locked": { | 
| 931 | "lastModified": 1734445299, | 957 | "lastModified": 1734445299, | 
| @@ -985,22 +1011,25 @@ | |||
| 985 | }, | 1011 | }, | 
| 986 | "zen-browser": { | 1012 | "zen-browser": { | 
| 987 | "inputs": { | 1013 | "inputs": { | 
| 1014 | "home-manager": [ | ||
| 1015 | "home-manager" | ||
| 1016 | ], | ||
| 988 | "nixpkgs": [ | 1017 | "nixpkgs": [ | 
| 989 | "nixpkgs" | 1018 | "nixpkgs" | 
| 990 | ] | 1019 | ] | 
| 991 | }, | 1020 | }, | 
| 992 | "locked": { | 1021 | "locked": { | 
| 993 | "lastModified": 1743216975, | 1022 | "lastModified": 1744280439, | 
| 994 | "narHash": "sha256-29xgm8F3DCcTNrQZ9V3Pwj6BkjalkKvGyjd+sF9/+3k=", | 1023 | "narHash": "sha256-oiLN1kt71v19w5/4muZhXf9SGb7mkMjvLAi7wJQA2ms=", | 
| 995 | "owner": "0xc000022070", | 1024 | "owner": "0xc000022070", | 
| 996 | "repo": "zen-browser-flake", | 1025 | "repo": "zen-browser-flake", | 
| 997 | "rev": "165ee672e6b17a8bcc0a3fb51fab3f79715cc1f3", | 1026 | "rev": "5667f0661aa52587f1f86ed7206ddf87327616a9", | 
| 998 | "type": "github" | 1027 | "type": "github" | 
| 999 | }, | 1028 | }, | 
| 1000 | "original": { | 1029 | "original": { | 
| 1001 | "owner": "0xc000022070", | 1030 | "owner": "0xc000022070", | 
| 1002 | "repo": "zen-browser-flake", | 1031 | "repo": "zen-browser-flake", | 
| 1003 | "rev": "165ee672e6b17a8bcc0a3fb51fab3f79715cc1f3", | 1032 | "rev": "5667f0661aa52587f1f86ed7206ddf87327616a9", | 
| 1004 | "type": "github" | 1033 | "type": "github" | 
| 1005 | } | 1034 | } | 
| 1006 | } | 1035 | } | 
| diff --git a/home-config/nix-home-manager/flake.nix b/home-config/nix-home-manager/flake.nix index 096ec4b..5b87cdd 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/a84ebe20c6bc2ecbcfb000a50776219f48d134cc"; | 6 | nixpkgs.url = "github:nixos/nixpkgs/2c8d3f48d33929642c1c12cd243df4cc7d2ce434"; | 
| 7 | home-manager = { | 7 | home-manager = { | 
| 8 | url = "github:nix-community/home-manager/693840c01b9bef9e54100239cef937e53d4661bf"; | 8 | url = "github:nix-community/home-manager/579a71b948533667c6c65e603f18990bdffc8530"; | 
| 9 | inputs.nixpkgs.follows = "nixpkgs"; | 9 | inputs.nixpkgs.follows = "nixpkgs"; | 
| 10 | }; | 10 | }; | 
| 11 | hyprlock = { | 11 | hyprlock = { | 
| @@ -17,8 +17,9 @@ | |||
| 17 | inputs.nixpkgs.follows = "nixpkgs"; | 17 | inputs.nixpkgs.follows = "nixpkgs"; | 
| 18 | }; | 18 | }; | 
| 19 | hyprland = { | 19 | hyprland = { | 
| 20 | url = "github:hyprwm/hyprland/1f0fd79b910b798e650d6f0c546273bc83422526"; | 20 | url = "github:hyprwm/hyprland/382f0f23f144e11bdccac6c5d3c1ed415b4b1855"; | 
| 21 | inputs.nixpkgs.follows = "nixpkgs"; | 21 | inputs.nixpkgs.follows = "nixpkgs"; | 
| 22 | inputs.hyprutils.url = "github:hyprwm/hyprutils/v0.6.0"; | ||
| 22 | }; | 23 | }; | 
| 23 | nixgl = { | 24 | nixgl = { | 
| 24 | url = "github:ryan77627/nixGL/3865170cbc23b32ec7cc8df1ec811fd44b6c2a58"; | 25 | url = "github:ryan77627/nixGL/3865170cbc23b32ec7cc8df1ec811fd44b6c2a58"; | 
| @@ -37,13 +38,14 @@ | |||
| 37 | inputs.nixpkgs.follows = "nixpkgs"; | 38 | inputs.nixpkgs.follows = "nixpkgs"; | 
| 38 | }; | 39 | }; | 
| 39 | hypr-dynamic-cursors = { | 40 | hypr-dynamic-cursors = { | 
| 40 | url = "github:VirtCode/hypr-dynamic-cursors/fecc7b9b828d5b58e58d395c6544ed16b180008f"; | 41 | url = "github:VirtCode/hypr-dynamic-cursors/07a9ca62466edf58a251a3d9d1470f8d502ffee0"; | 
| 41 | inputs.hyprland.follows = "hyprland"; | 42 | inputs.hyprland.follows = "hyprland"; | 
| 42 | inputs.nixpkgs.follows = "hyprland/nixpkgs"; | 43 | inputs.nixpkgs.follows = "hyprland/nixpkgs"; | 
| 43 | }; | 44 | }; | 
| 44 | zen-browser = { | 45 | zen-browser = { | 
| 45 | url = "github:0xc000022070/zen-browser-flake/165ee672e6b17a8bcc0a3fb51fab3f79715cc1f3"; | 46 | url = "github:0xc000022070/zen-browser-flake/5667f0661aa52587f1f86ed7206ddf87327616a9"; | 
| 46 | inputs.nixpkgs.follows = "nixpkgs"; | 47 | inputs.nixpkgs.follows = "nixpkgs"; | 
| 48 | inputs.home-manager.follows = "home-manager"; | ||
| 47 | }; | 49 | }; | 
| 48 | }; | 50 | }; | 
| 49 | 51 | ||
| @@ -52,7 +54,7 @@ | |||
| 52 | system = "x86_64-linux"; | 54 | system = "x86_64-linux"; | 
| 53 | pkgs = nixpkgs.legacyPackages.${system}; | 55 | pkgs = nixpkgs.legacyPackages.${system}; | 
| 54 | overlays = [ | 56 | overlays = [ | 
| 55 | #nixgl.overlay | 57 | #zen-browser.homeModules | 
| 56 | ]; | 58 | ]; | 
| 57 | in { | 59 | in { | 
| 58 | homeConfigurations."ryan" = home-manager.lib.homeManagerConfiguration { | 60 | homeConfigurations."ryan" = home-manager.lib.homeManagerConfiguration { | 
| @@ -63,6 +65,7 @@ | |||
| 63 | modules = [ | 65 | modules = [ | 
| 64 | {nixpkgs.overlays = overlays;} | 66 | {nixpkgs.overlays = overlays;} | 
| 65 | ./home.nix | 67 | ./home.nix | 
| 68 | zen-browser.homeModules.beta | ||
| 66 | { | 69 | { | 
| 67 | _module.args = { | 70 | _module.args = { | 
| 68 | inherit hyprland; | 71 | inherit hyprland; | 
| @@ -73,7 +76,6 @@ | |||
| 73 | inherit mozff; | 76 | inherit mozff; | 
| 74 | inherit clipboard-sync; | 77 | inherit clipboard-sync; | 
| 75 | inherit hypr-dynamic-cursors; | 78 | inherit hypr-dynamic-cursors; | 
| 76 | inherit zen-browser; | ||
| 77 | }; | 79 | }; | 
| 78 | } | 80 | } | 
| 79 | ]; | 81 | ]; | 
| diff --git a/home-config/nix-home-manager/home.nix b/home-config/nix-home-manager/home.nix index 4c2c5f7..06096de 100644 --- a/home-config/nix-home-manager/home.nix +++ b/home-config/nix-home-manager/home.nix | |||
| @@ -1,24 +1,4 @@ | |||
| 1 | { config, pkgs, hyprland, nixgl, wpaperd, hyprpicker-git, hyprlock, mozff, clipboard-sync, hypr-dynamic-cursors, zen-browser, ... }: | 1 | { config, pkgs, hyprland, nixgl, wpaperd, hyprpicker-git, hyprlock, mozff, clipboard-sync, hypr-dynamic-cursors, home-manager, ... }: | 
| 2 | let | ||
| 3 | # THIS IS NOT PERFECT AT ALL YET!!! Gets the basics done (my important | ||
| 4 | # policies regarding accounts and extensions. Does not set up profile | ||
| 5 | # stuff, like search. Most importantly, it DOES NOT add system CAs. | ||
| 6 | # To do that, run: | ||
| 7 | # `certutil -A -n "name" -t "CT,c" -i ./path/to/cert -d ~/.zen/profile-folder` | ||
| 8 | # I do this for my root and intermediate. BEWARE WHEN INSTALLING NEW | ||
| 9 | # SYSTEMS!!!! | ||
| 10 | ffPolicies = import ./zenPolicies.nix; | ||
| 11 | customZen = zen-browser.packages.${pkgs.system}.default.overrideAttrs (old: { | ||
| 12 | installPhase = old.installPhase + '' | ||
| 13 | rm -f $out/lib/zen-${old.version}/distribution/policies.json | ||
| 14 | rm -rf $out/lib | ||
| 15 | mkdir $out/opt/zen/distribution | ||
| 16 | ln -s ${pkgs.writeText "firefox-policies.json" (builtins.toJSON ffPolicies)} \ | ||
| 17 | "$out/opt/zen/distribution/policies.json" | ||
| 18 | ''; | ||
| 19 | }); | ||
| 20 | |||
| 21 | in | ||
| 22 | 2 | ||
| 23 | { | 3 | { | 
| 24 | imports = [ | 4 | imports = [ | 
| @@ -78,13 +58,18 @@ in | |||
| 78 | }; | 58 | }; | 
| 79 | }; | 59 | }; | 
| 80 | 60 | ||
| 61 | programs.zen-browser = { | ||
| 62 | enable = true; | ||
| 63 | policies = import ./zenPolicies.nix; | ||
| 64 | }; | ||
| 65 | |||
| 81 | # The home.packages option allows you to install Nix packages into your | 66 | # The home.packages option allows you to install Nix packages into your | 
| 82 | # environment. | 67 | # environment. | 
| 83 | home.packages = with pkgs; [ | 68 | home.packages = with pkgs; [ | 
| 84 | # # Adds the 'hello' command to your environment. It prints a friendly | 69 | # # Adds the 'hello' command to your environment. It prints a friendly | 
| 85 | # # "Hello, world!" when run. | 70 | # # "Hello, world!" when run. | 
| 86 | # pkgs.hello | 71 | # pkgs.hello | 
| 87 | nix # Used to keep nix up to date when I don't update the guix package | 72 | # nix # Used to keep nix up to date when I don't update the guix package | 
| 88 | yt-dlp | 73 | yt-dlp | 
| 89 | #pass | 74 | #pass | 
| 90 | rustup | 75 | rustup | 
| @@ -115,14 +100,12 @@ in | |||
| 115 | starship | 100 | starship | 
| 116 | taskwarrior3 | 101 | taskwarrior3 | 
| 117 | delta | 102 | delta | 
| 103 | pyprland | ||
| 118 | #(flameshot.override { enableWlrSupport = true; }) | 104 | #(flameshot.override { enableWlrSupport = true; }) | 
| 119 | 105 | ||
| 120 | # Here until i can fix firefox's stupid devtools issue | 106 | # Here until i can fix firefox's stupid devtools issue | 
| 121 | chromium | 107 | chromium | 
| 122 | 108 | ||
| 123 | # Maybe will work? | ||
| 124 | customZen | ||
| 125 | |||
| 126 | # Wrapped programs for some env variables | 109 | # Wrapped programs for some env variables | 
| 127 | (pkgs.writeScriptBin "hyprlock" '' | 110 | (pkgs.writeScriptBin "hyprlock" '' | 
| 128 | #! ${pkgs.bash}/bin/bash | 111 | #! ${pkgs.bash}/bin/bash | 
