Commit e42f85c03640

Vincent Demeester <vincent@sbr.pm>
2018-04-20 15:25:37
Rename home to envs to be compatible with hm
hm stands for home-manager-helper and is just a small helper on top of home-manager. And I'm using it on non-nixos machines Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 3ef35fe
Changed files (4)
envs/common.nix
@@ -0,0 +1,9 @@
+{ pkgs, prefix, ...}:
+
+{
+  home.packages = with pkgs; [
+    jq
+    htop
+    pass
+  ];
+}
home/configuration.nix → envs/wakasu.nix
@@ -2,10 +2,6 @@
 
 {
   home.packages = with pkgs; [
-    acpi
     autorandr
-    jq
-    htop
-    pass
   ];
 }
machine/wakasu.nix
@@ -22,7 +22,7 @@
 		{ domain = "@audio"; item = "nofile";  type = "-"; value = "99999"; }
 	];
 
-  home-manager.users.vincent = import ../home/configuration.nix {
+  home-manager.users.vincent = import ../envs/wakasu.nix {
     inherit pkgs; prefix = config.users.users.vincent.home;
   };
   
profiles/laptop.nix
@@ -11,5 +11,6 @@
 	environment.systemPackages = with pkgs; [
 		lm_sensors
 		powertop
+    acpi
 	];
 }