about summary refs log tree commit diff
path: root/modules/profiles
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/profiles/default.nix1
-rw-r--r--modules/profiles/headful.nix10
2 files changed, 9 insertions, 2 deletions
diff --git a/modules/profiles/default.nix b/modules/profiles/default.nix
index e3002b0..5edfd7a 100644
--- a/modules/profiles/default.nix
+++ b/modules/profiles/default.nix
@@ -55,7 +55,6 @@ in
       psmisc
       sysstat
       tree
-      usbutils
       util-linux
     ];
   };
diff --git a/modules/profiles/headful.nix b/modules/profiles/headful.nix
index 6e58dae..7060e49 100644
--- a/modules/profiles/headful.nix
+++ b/modules/profiles/headful.nix
@@ -1,5 +1,6 @@
 {
   config,
+  inputs,
   lib,
   pkgs,
   this,
@@ -40,6 +41,8 @@ in
     };
 
     hm = {
+      imports = [ inputs.nix-index-database.hmModules.nix-index ];
+
       home = {
         file.".digrc".text = ''
           +answer
@@ -62,7 +65,11 @@ in
         ];
       };
 
-      programs.bash.shellAliases.open = "xdg-open";
+      programs = {
+        bash.shellAliases.open = "xdg-open";
+
+        nix-index-database.comma.enable = true;
+      };
     };
 
     boot = {
@@ -113,6 +120,7 @@ in
       lm_sensors
       socat
       tcpdump
+      usbutils
     ];
 
     my.extraGroups = [

Consider giving Nix/NixOS a try! <3