about summary refs log tree commit diff
path: root/modules/common/profiles
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/common/profiles/email.nix12
-rw-r--r--modules/common/profiles/headful.nix1
2 files changed, 10 insertions, 3 deletions
diff --git a/modules/common/profiles/email.nix b/modules/common/profiles/email.nix
index 9cc12d7..744d656 100644
--- a/modules/common/profiles/email.nix
+++ b/modules/common/profiles/email.nix
@@ -46,10 +46,16 @@ in {
             assert (builtins.isInt line);
               concatStringsSep " " (
                 [
-                  "${config.hm.programs.password-store.package}/bin/pass show ${path}"
+                  "${config.hm.programs.password-store.package}/bin/pass"
+                  "show"
+                  path
+                ]
+                ++ optionals (line > 0) [
+                  "|"
+                  "${pkgs.gnused}/bin/sed"
+                  "-e"
+                  "'${toString line}!d'"
                 ]
-                ++ optional (line > 0)
-                "| ${pkgs.gnused}/bin/sed -e '${toString line}!d'"
               );
         in rec {
           shire = mkAccount rec {
diff --git a/modules/common/profiles/headful.nix b/modules/common/profiles/headful.nix
index 968b287..a1bb7d6 100644
--- a/modules/common/profiles/headful.nix
+++ b/modules/common/profiles/headful.nix
@@ -21,6 +21,7 @@ in {
       mpv.enable = true;
       openssh.client.enable = true;
       password-store.enable = true;
+      vscode.enable = true;
     };
 
     hm = {

Consider giving Nix/NixOS a try! <3