diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-05 19:41:58 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-05 19:41:58 -0700 |
commit | 43da9edb4598eef509c481ae0b305384418c45de (patch) | |
tree | a0ad614c90102757143e026e4fe1806431a3dbf4 /home/pass | |
parent | profiles/default: users are immutable (diff) | |
download | world-43da9edb4598eef509c481ae0b305384418c45de.tar.gz |
home/profiles: move (almost) all modules to profiles
This is a major refactor, similar to what was done for the hosts, but in a single commit.
Diffstat (limited to 'home/pass')
-rw-r--r-- | home/pass/default.nix | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/home/pass/default.nix b/home/pass/default.nix deleted file mode 100644 index eb43c3a..0000000 --- a/home/pass/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ config, lib, pkgs, ... }: -let cfg = config.my.home.pass; -in -{ - options.my.home.pass = with lib; { - enable = mkEnableOption "passage configuration"; - }; - config = lib.mkIf cfg.enable { - home.packages = with pkgs; [ - passage - tree - ]; - - home.sessionVariables = { - PASSAGE_DIR = "${config.xdg.dataHome}/passage/store"; - PASSAGE_IDENTITIES_FILE = "${config.xdg.dataHome}/passage/identities"; - # for now I have to default to rage, as the version of age is - # not recent enough to work with keys generated by - # age-plugin-yubikey - PASSAGE_AGE = "${pkgs.rage}/bin/rage"; - }; - - }; -} |