diff options
| author | adikro <adikro@disroot.org> | 2026-03-16 12:14:05 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-03-16 12:14:05 +0100 |
| commit | 045bf7366688193c785864ac44af840555d797ec (patch) | |
| tree | 412eaa2b6cdae6995b62dbca868fab5c53568c30 | |
| parent | 18f08bf53591f3e68043730a627889957009deb6 (diff) | |
some browser stuff
| -rw-r--r-- | flake.lock | 131 | ||||
| -rw-r--r-- | flake.nix | 3 | ||||
| -rw-r--r-- | hm/env/niri/niri.nix | 1 | ||||
| -rw-r--r-- | hm/soft/browser.nix | 21 | ||||
| -rw-r--r-- | hosts/thinkpad/home.nix | 8 | ||||
| -rw-r--r-- | os/core/security.nix | 19 |
6 files changed, 128 insertions, 55 deletions
@@ -153,6 +153,27 @@ "flake-parts_4": { "inputs": { "nixpkgs-lib": [ + "nur", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1733312601, + "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_5": { + "inputs": { + "nixpkgs-lib": [ "nvf", "nixpkgs" ] @@ -171,7 +192,7 @@ "type": "github" } }, - "flake-parts_5": { + "flake-parts_6": { "inputs": { "nixpkgs-lib": "nixpkgs-lib_2" }, @@ -254,11 +275,11 @@ ] }, "locked": { - "lastModified": 1773422513, - "narHash": "sha256-MPjR48roW7CUMU6lu0+qQGqj92Kuh3paIulMWFZy+NQ=", + "lastModified": 1773608492, + "narHash": "sha256-QZteyExJYSQzgxqdsesDPbQgjctGG7iKV/6ooyQPITk=", "owner": "nix-community", "repo": "home-manager", - "rev": "ef12a9a2b0f77c8fa3dda1e7e494fca668909056", + "rev": "9a40ec3b78fc688d0908485887d355caa5666d18", "type": "github" }, "original": { @@ -354,11 +375,11 @@ ] }, "locked": { - "lastModified": 1773578674, - "narHash": "sha256-UaO8aE+qRQgglrJbhi9hzSeiP8oob9brLY3pKvq8mRA=", + "lastModified": 1773619513, + "narHash": "sha256-2xCVm8ajE9pNngv489dPKOUa5P0tlmJRwgVPjhy7c8w=", "owner": "nix-community", "repo": "neovim-nightly-overlay", - "rev": "0990740d36eb5674abfd899746ac5f51a96bf1c0", + "rev": "07227cc79efb9c1744ec99d51f98c7a3584a62d2", "type": "github" }, "original": { @@ -370,11 +391,11 @@ "neovim-src": { "flake": false, "locked": { - "lastModified": 1773532807, - "narHash": "sha256-02OCZKwq7JsocizEcvJVt1uMkQzWT6abPemKQU3y1U8=", + "lastModified": 1773615769, + "narHash": "sha256-qU71k2BTckpJDHpjxaU4aQwl14+iApnAycq+IJDTmO0=", "owner": "neovim", "repo": "neovim", - "rev": "9084483715649194de0497310ae191e35dab8e26", + "rev": "16f7440cc7b59b7e5c79f593fedc117d2d16d7dd", "type": "github" }, "original": { @@ -395,11 +416,11 @@ "xwayland-satellite-unstable": "xwayland-satellite-unstable" }, "locked": { - "lastModified": 1773577199, - "narHash": "sha256-Z77lGBRlueA+igtScByJ0soMRnEy5T/XG9w661OCPaw=", + "lastModified": 1773637356, + "narHash": "sha256-E9PxnKdAkszK0Xhc3bBNnMeE8QMQcHwQEOkVHGGnrKM=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "afc45f69929e5b5ab23d903b24532cfe718de6be", + "rev": "41bdfa1d3f9da80098b410fa34bc7230a6efeb99", "type": "github" }, "original": { @@ -451,11 +472,11 @@ "nixpkgs-nixcord": "nixpkgs-nixcord" }, "locked": { - "lastModified": 1773449015, - "narHash": "sha256-7Q4MsuktyGzRC5B+RuTITnZaDT5JqUq19P7wNFL+7ac=", + "lastModified": 1773597570, + "narHash": "sha256-A6KsirR9kxR1wVFTr8aagk5vUT3rvKTf79Qht6YkxUA=", "owner": "KaylorBen", "repo": "nixcord", - "rev": "3e0fc6c4baba8d1a63e11a6d8977a0f92c859801", + "rev": "1cc0ddb766e459b7187e6aeb8b2e046d37361dc4", "type": "github" }, "original": { @@ -560,11 +581,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1773389992, - "narHash": "sha256-wvfdLLWJ2I9oEpDd9PfMA8osfIZicoQ5MT1jIwNs9Tk=", + "lastModified": 1773520392, + "narHash": "sha256-Ra3l8zI7AYwaCxXcU4An8jAC1hhz/TEleXboJhWaBwY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c06b4ae3d6599a672a6210b7021d699c351eebda", + "rev": "f59e980846fe86cd831899cd032fdbd1d6054086", "type": "github" }, "original": { @@ -576,6 +597,22 @@ }, "nixpkgs_3": { "locked": { + "lastModified": 1773579282, + "narHash": "sha256-LWvZj9Bvm1EuoO6zbX4yjZebwnZNfeTbmCJGS7RGQ3Y=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "5a88de74db0e948139be4b46f9a94d64aa11391c", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { + "locked": { "lastModified": 1744536153, "narHash": "sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38=", "owner": "NixOS", @@ -612,10 +649,29 @@ "type": "github" } }, + "nur": { + "inputs": { + "flake-parts": "flake-parts_4", + "nixpkgs": "nixpkgs_3" + }, + "locked": { + "lastModified": 1773657337, + "narHash": "sha256-cDwlYs5dKNCZ7W/w4qmCJOQz9VJr95n4bTA2Qhivq48=", + "owner": "nix-community", + "repo": "NUR", + "rev": "4f42bc73dd7d7d99802efd15fb4acabc195674b7", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "NUR", + "type": "github" + } + }, "nvf": { "inputs": { "flake-compat": "flake-compat_2", - "flake-parts": "flake-parts_4", + "flake-parts": "flake-parts_5", "mnw": "mnw", "ndg": "ndg", "nixpkgs": [ @@ -639,7 +695,7 @@ }, "otter-launcher": { "inputs": { - "flake-parts": "flake-parts_5", + "flake-parts": "flake-parts_6", "home-manager": "home-manager_2", "nixpkgs": [ "nixpkgs" @@ -647,11 +703,11 @@ "systems": "systems_4" }, "locked": { - "lastModified": 1773508893, - "narHash": "sha256-gLLCmLv46HrBzVuRlbDz0h/vniefirl4wNWePFTkrkA=", + "lastModified": 1773640372, + "narHash": "sha256-nGFsFIT7nBEWuSbzL9jIxsF1DUUQ/D3/FwlZq8F2pHM=", "owner": "kuokuo123", "repo": "otter-launcher", - "rev": "9cd1793065a5f81bfdf09bf5159205203cb15815", + "rev": "872714f3f27a83ef723b2748bdfda4f80d97eaff", "type": "github" }, "original": { @@ -671,6 +727,7 @@ "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_2", "nixvim": "nixvim", + "nur": "nur", "nvf": "nvf", "otter-launcher": "otter-launcher", "satty": "satty", @@ -699,7 +756,7 @@ }, "rust-overlay": { "inputs": { - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_4" }, "locked": { "lastModified": 1748140821, @@ -744,11 +801,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1773038947, - "narHash": "sha256-NlAFAl1w+ZFXij/+0Tj+d1rMYwE5PuW98OYGlksZK28=", + "lastModified": 1773640901, + "narHash": "sha256-lggJVTCrd/zyj4VDRs28GWYujfPlPby4QDKfXsIfeGQ=", "owner": "gabm", "repo": "Satty", - "rev": "be6e7d7301f671ad4c39aba98dceb64f67e1fcc8", + "rev": "855f013c0f48e88f90887f17aaef97e950165e1a", "type": "github" }, "original": { @@ -785,11 +842,11 @@ "systems": "systems_5" }, "locked": { - "lastModified": 1773553305, - "narHash": "sha256-q8TGUGhP8JRc3qm/m8GeFQM9vgvqKpzQRQZXA99OhoU=", + "lastModified": 1773619901, + "narHash": "sha256-Br8CQy4ht+a2OxyzaRwuP5+oIFfoRvCxYgsmdrgid40=", "owner": "Gerg-L", "repo": "spicetify-nix", - "rev": "1eda71bfb3ba85fbe1b3169e8515a3d8d9512113", + "rev": "6f06ff05cd536b790b7662550a10b61a1ac4619e", "type": "github" }, "original": { @@ -929,11 +986,11 @@ "xwayland-satellite-unstable": { "flake": false, "locked": { - "lastModified": 1773499041, - "narHash": "sha256-XZ4/tVdLeAYDgKe4JD4C7yYUKydMxwt8c2j6APFWcIc=", + "lastModified": 1773622265, + "narHash": "sha256-wToKwH7IgWdGLMSIWksEDs4eumR6UbbsuPQ42r0oTXQ=", "owner": "Supreeeme", "repo": "xwayland-satellite", - "rev": "309d8e2a29953f7465dc14c939e2afe4682c0aa9", + "rev": "a879e5e0896a326adc79c474bf457b8b99011027", "type": "github" }, "original": { @@ -951,11 +1008,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1773559138, - "narHash": "sha256-ZOEABQupsxZoMureDvrS5zg59DENjrEM1oRcfA4ctk0=", + "lastModified": 1773638943, + "narHash": "sha256-TgGuoRB28Q7IeHupfLZ/NFeztWgXS8H0HkPMy5Neb4c=", "owner": "sxyazi", "repo": "yazi", - "rev": "d22c96b69ced5571bd73c38585d4c48401ee3abd", + "rev": "de01a56ac5a566ecb4804659a5ecb413a9e3734f", "type": "github" }, "original": { @@ -6,6 +6,8 @@ nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + nur.url = "github:nix-community/NUR"; + sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; @@ -93,6 +95,7 @@ }; modules = [ path + inputs.nur.modules.nixos.default { networking.hostName = hostname; } ]; }; diff --git a/hm/env/niri/niri.nix b/hm/env/niri/niri.nix index 8850396..e6a972c 100644 --- a/hm/env/niri/niri.nix +++ b/hm/env/niri/niri.nix @@ -46,6 +46,7 @@ in mod-key = "Alt"; keyboard = { xkb.layout = "pl"; + xkb.options = "caps:ctrl_modifier"; repeat-delay = 300; repeat-rate = 60; }; diff --git a/hm/soft/browser.nix b/hm/soft/browser.nix index fd57809..1047c38 100644 --- a/hm/soft/browser.nix +++ b/hm/soft/browser.nix @@ -50,6 +50,27 @@ in }; }; }; + extensions = { + force = true; + packages = with pkgs.nur.repos.rycee.firefox-addons; [ + ublock-origin + sidebery + bitwarden + buster-captcha-solver + sponsorblock + dearrow + darkreader + violentmonkey + i-dont-care-about-cookies + keepassxc-browser + noscript + privacy-settings + protondb-for-steam + steam-database + terms-of-service-didnt-read + unpaywall + ]; + }; settings = { "identity.fxaccounts.enabled" = true; diff --git a/hosts/thinkpad/home.nix b/hosts/thinkpad/home.nix index b121ae2..6dba53c 100644 --- a/hosts/thinkpad/home.nix +++ b/hosts/thinkpad/home.nix @@ -23,6 +23,9 @@ }; editors.nixvim.enable = true; env = { + fsel.enable = true; + mako.enable = true; + otter.enable = true; niri.enable = true; cursor.enableMiyabi = true; @@ -36,7 +39,10 @@ shell = { cli.enable = true; fish.enable = true; - foot.enable = true; + foot = { + enable = true; + fontSize = 10; + }; starship.enable = true; }; soft = { diff --git a/os/core/security.nix b/os/core/security.nix index fa40372..f0eadab 100644 --- a/os/core/security.nix +++ b/os/core/security.nix @@ -11,20 +11,9 @@ in { options.os.core.security = { enable = lib.mkEnableOption "core security services"; - fprint.enable = lib.mkEnableOption "enables fingerprint authentication"; }; config = lib.mkIf cfg.enable { - services = { - gnome.gnome-keyring.enable = true; - fprintd = lib.mkIf cfg.fprint.enable { - enable = true; - package = pkgs.fprintd-tod; - tod = { - enable = true; - driver = pkgs.libfprint-2-tod1-vfs0090; - }; - }; - }; + services.gnome.gnome-keyring.enable = true; security = { doas = { @@ -41,11 +30,7 @@ in pam.services = { swaylock = { }; - doas.fprintAuth = cfg.fprint.enable; - login = { - enableGnomeKeyring = true; - fprintAuth = cfg.fprint.enable; - }; + login.enableGnomeKeyring = true; }; polkit.enable = true; rtkit.enable = true; |
