37 lines
1.2 KiB
Nix
Raw Normal View History

2019-09-11 17:17:56 +04:00
{ pkgs, lib, config, ... }: {
2021-06-16 05:30:04 +03:00
environment.sessionVariables = config.home-manager.users.alukard.home.sessionVariables // rec {
LESS = "MR";
LESSHISTFILE = "~/.local/share/lesshist";
SYSTEMD_LESS = LESS;
2021-09-15 23:17:00 +03:00
CARGO_HOME = "${config.home-manager.users.alukard.xdg.dataHome}/cargo";
2021-02-07 02:38:11 +03:00
};
2020-02-05 04:30:49 +04:00
2019-09-11 17:17:56 +04:00
home-manager.users.alukard = {
news.display = "silent";
systemd.user.startServices = true;
2021-09-16 01:03:52 +03:00
home.stateVersion = "21.11";
2021-11-20 01:35:09 +03:00
#TODO: Move to another file
services.pass-secret-service.enable = true;
systemd.user.services.pass-secret-service = {
Service = {
ExecStart = lib.mkForce
"${pkgs.pass-secret-service}/bin/pass_secret_service --path ${config.environment.variables.PASSWORD_STORE_DIR}";
Type = "dbus";
BusName = "org.freedesktop.secrets";
};
Unit = rec {
Wants = [ "gpg-agent.service" "activate-secrets.service" ];
After = Wants;
PartOf = [ "graphical-session-pre.target" ];
};
};
2019-09-11 17:17:56 +04:00
};
2021-02-07 02:38:11 +03:00
2021-06-16 05:30:04 +03:00
system.stateVersion = "21.11";
2021-02-07 02:38:11 +03:00
2021-06-16 05:30:04 +03:00
systemd.services.systemd-timesyncd.wantedBy = [ "multi-user.target" ];
systemd.timers.systemd-timesyncd = { timerConfig.OnCalendar = "hourly"; };
2019-09-11 17:17:56 +04:00
}