summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock45
-rw-r--r--flake.nix5
-rw-r--r--modules/home/christian.nix15
3 files changed, 63 insertions, 2 deletions
diff --git a/flake.lock b/flake.lock
index c877d97..2098465 100644
--- a/flake.lock
+++ b/flake.lock
@@ -1,5 +1,26 @@
{
"nodes": {
+ "flake-parts": {
+ "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"
+ }
+ },
"home-manager": {
"inputs": {
"nixpkgs": [
@@ -57,11 +78,33 @@
"type": "github"
}
},
+ "nur": {
+ "inputs": {
+ "flake-parts": "flake-parts",
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1769654795,
+ "narHash": "sha256-znD3AZnX4az6Mp7qiR5PaRJcu3eThC7mquz/oUIVBfI=",
+ "owner": "nix-community",
+ "repo": "NUR",
+ "rev": "97047d403a2ff0054179225ed970612fc046072a",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "NUR",
+ "type": "github"
+ }
+ },
"root": {
"inputs": {
"home-manager": "home-manager",
"nix-index-database": "nix-index-database",
- "nixpkgs": "nixpkgs"
+ "nixpkgs": "nixpkgs",
+ "nur": "nur"
}
}
},
diff --git a/flake.nix b/flake.nix
index f68c1f0..befbb26 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,6 +12,11 @@
nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
+
+ nur = {
+ url = "github:nix-community/NUR";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
};
outputs = { self, nixpkgs, home-manager, nix-index-database, ... }@inputs: {
diff --git a/modules/home/christian.nix b/modules/home/christian.nix
index cd48619..d3dcb1e 100644
--- a/modules/home/christian.nix
+++ b/modules/home/christian.nix
@@ -23,13 +23,26 @@
programs.firefox = {
enable = true;
+ policies = {
+ OverrideFirstRunPage = "";
+ DisableFirefoxAccounts = true;
+ FirefoxHome = {
+ SponsoredTopSites = false;
+ Stories = false;
+ };
+ };
profiles.christian = {
name = "Christian";
isDefault = true;
settings = {
- "browser.newtabpage.activity-stream.feeds.section.topstories" = false;
"browser.aboutConfig.showWarning" = false;
+ "extensions.autoDisableScopes" = 0;
+ "browser.theme.content-theme" = 0;
+ "browser.theme.toolbar-theme" = 0;
};
+ extensions.packages = with inputs.nur.legacyPackages.x86_64-linux.repos.rycee.firefox-addons; [
+ ublock-origin
+ ];
};
};