Enable firefox and disable Pocket

This commit is contained in:
Toast 2023-06-21 17:31:43 +02:00
parent 879abfdf7d
commit fd0ef3be5b
3 changed files with 12 additions and 1 deletions

View file

@ -65,7 +65,6 @@
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [ "wheel" ]; # Enable sudo for the user.
packages = with pkgs; [ packages = with pkgs; [
firefox
tree tree
]; ];
}; };

View file

@ -3,5 +3,6 @@
{ {
imports = [ imports = [
./discord.nix ./discord.nix
./firefox.nix
]; ];
} }

11
roles/desktop/firefox.nix Normal file
View file

@ -0,0 +1,11 @@
{ config, pkgs, ... }:
{
# System wide firefox settings
programs.firefox = {
enable = true;
policies = {
"DisablePocket" = true;
};
};
}