about summary refs log tree commit diff
path: root/modules/common
diff options
context:
space:
mode:
Diffstat (limited to 'modules/common')
-rw-r--r--modules/common/common/shell/default.nix8
-rw-r--r--modules/common/profiles/dev/default.nix1
-rw-r--r--modules/common/profiles/headful.nix1
-rw-r--r--modules/common/qutebrowser.nix18
4 files changed, 7 insertions, 21 deletions
diff --git a/modules/common/common/shell/default.nix b/modules/common/common/shell/default.nix
index 5731f26..8c3fa8a 100644
--- a/modules/common/common/shell/default.nix
+++ b/modules/common/common/shell/default.nix
@@ -1,5 +1,6 @@
 {
   config,
+  inputs,
   lib,
   pkgs,
   this,
@@ -16,6 +17,8 @@ in {
 
   config = {
     hm = {
+      imports = [inputs.nix-index-database.hmModules.nix-index];
+
       programs = {
         bash = {
           enable = true;
@@ -125,9 +128,10 @@ in {
             // cfg.aliases;
         };
 
-        command-not-found.enable = false;
-
         dircolors.enable = true;
+
+        command-not-found.enable = false;
+        nix-index-database.comma.enable = true;
       };
 
       home.packages = with pkgs; [grc];
diff --git a/modules/common/profiles/dev/default.nix b/modules/common/profiles/dev/default.nix
index 1bc0b0e..52dc49f 100644
--- a/modules/common/profiles/dev/default.nix
+++ b/modules/common/profiles/dev/default.nix
@@ -67,7 +67,6 @@ in {
           hydra-check
           jq
           logcli
-          nix-index
           nix-update
           nixpkgs-review
           sops
diff --git a/modules/common/profiles/headful.nix b/modules/common/profiles/headful.nix
index dc8e1d6..1578ccc 100644
--- a/modules/common/profiles/headful.nix
+++ b/modules/common/profiles/headful.nix
@@ -34,7 +34,6 @@ in {
         '';
 
         packages = with pkgs; [
-          comma
           fd
           ripgrep
           sd
diff --git a/modules/common/qutebrowser.nix b/modules/common/qutebrowser.nix
index 96da894..9a919b7 100644
--- a/modules/common/qutebrowser.nix
+++ b/modules/common/qutebrowser.nix
@@ -400,23 +400,7 @@ in {
             };
             webpage = {
               bg = "white";
-              darkmode = {
-                enabled = false;
-                algorithm = "lightness-cielab";
-                contrast = 0.0;
-                grayscale = {
-                  all = false;
-                  images = 0.0;
-                };
-                policy = {
-                  images = "smart";
-                  page = "smart";
-                };
-                threshold = {
-                  background = 0;
-                  text = 256;
-                };
-              };
+              darkmode.enabled = false;
               preferred_color_scheme = "auto";
             };
           };

Consider giving Nix/NixOS a try! <3