about summary refs log tree commit diff
path: root/machines/x220-gnome
diff options
context:
space:
mode:
Diffstat (limited to 'machines/x220-gnome')
-rw-r--r--machines/x220-gnome/configuration.nix2
-rw-r--r--machines/x220-gnome/pass.nix10
2 files changed, 12 insertions, 0 deletions
diff --git a/machines/x220-gnome/configuration.nix b/machines/x220-gnome/configuration.nix
index 898f71e..03a4e0d 100644
--- a/machines/x220-gnome/configuration.nix
+++ b/machines/x220-gnome/configuration.nix
@@ -3,7 +3,9 @@
 {
 	imports =
 		[ # Include the results of the hardware scan.
+		../base.nix
 		./gnome.nix
+		./pass.nix
 		./hardware-configuration.nix
 		];
 
diff --git a/machines/x220-gnome/pass.nix b/machines/x220-gnome/pass.nix
new file mode 100644
index 0000000..4fb9410
--- /dev/null
+++ b/machines/x220-gnome/pass.nix
@@ -0,0 +1,10 @@
+{ pkgs, ... }:
+{
+	environment.systemPackages = with pkgs; [
+		pkgs.pass-wayland
+	];
+
+	environment.variables = {
+		PASSWORD_STORE_DIR = "$XDG_DATA_HOME/password-store";
+	};
+}