From 479cebb66aeabca6c027a2d4b2886870fc4e52cc Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sat, 17 Feb 2024 19:09:54 +0100 Subject: [PATCH] Add chromium --- README.md | 4 ++++ home/default.nix | 1 + home/programs/chromium.nix | 14 ++++++++++++++ home/programs/git.nix | 2 ++ modules/system.nix | 3 --- 5 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 home/programs/chromium.nix diff --git a/README.md b/README.md index d38405c..ee4108a 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ nixos-rebuild switch --flake flake_path_directory#hostname nix flake update --extra-experimental-features "nix-command flakes" ``` +# Usefull link + +- https://api.github.com/rate_limit + # Sources - https://github.com/ryan4yin/nix-config/tree/v0.0.2 diff --git a/home/default.nix b/home/default.nix index 55a9974..5a4c078 100644 --- a/home/default.nix +++ b/home/default.nix @@ -6,6 +6,7 @@ ./programs/emacs.nix ./programs/vscode.nix ./programs/mise.nix + ./programs/chromium.nix ]; home = { diff --git a/home/programs/chromium.nix b/home/programs/chromium.nix new file mode 100644 index 0000000..7c41b2d --- /dev/null +++ b/home/programs/chromium.nix @@ -0,0 +1,14 @@ +{ config, pkgs, ... }: + +{ + programs.chromium = { + enable = true; + + extensions = [ + { id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } # Ublock Origin + { id = "nngceckbapebfimnlniiiahkandclblb"; } # Bitwarden + { id = "fnaicdffflnofjppbagibeoednhnbjhg"; } # Floccus Bookmark manager + { id = "fihnjjcciajhdojfnbdddfaoknhalnja"; } # I don't care about cookies + ]; + }; +} \ No newline at end of file diff --git a/home/programs/git.nix b/home/programs/git.nix index 9220e2b..60cee6a 100644 --- a/home/programs/git.nix +++ b/home/programs/git.nix @@ -5,5 +5,7 @@ enable = true; userName = "Florian RICHER"; userEmail = "florian.richer@protonmail.com"; + + # signing.signByDefault = true; }; } \ No newline at end of file diff --git a/modules/system.nix b/modules/system.nix index 89ebbc3..e9f0d29 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -19,14 +19,12 @@ LC_TIME = "fr_FR.UTF-8"; }; - nixpkgs.config.allowUnfree = true; # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ vim - git ]; # Define a user account. Don't forget to set a password with ‘passwd’. @@ -41,7 +39,6 @@ slack skypeforlinux discord - google-chrome # thunderbird ]; };