33 lines
864 B
Nix
Raw Normal View History

{ pkgs, lib, config, inputs, ... }: {
2021-06-09 10:17:48 +03:00
2021-06-08 23:27:54 +03:00
environment.sessionVariables =
config.home-manager.users.balsoft.home.sessionVariables // rec {
LESS = "MR";
2021-06-14 23:02:35 +03:00
LESSHISTFILE = "~/.local/share/lesshist";
2021-08-11 14:50:37 +03:00
CARGO_HOME = "${config.home-manager.users.balsoft.xdg.dataHome}/cargo";
2021-06-08 23:27:54 +03:00
SYSTEMD_LESS = LESS;
};
2020-02-17 16:00:59 +03:00
home-manager.users.balsoft = {
news.display = "silent";
2021-02-28 19:06:01 +03:00
2021-06-11 14:52:11 +03:00
systemd.user.startServices = true;
2021-01-20 17:54:50 +03:00
2021-06-07 18:22:59 +03:00
home.stateVersion = "20.09";
};
2021-01-20 17:54:50 +03:00
2021-08-11 14:50:37 +03:00
persist.cache.directories = [ "/home/balsoft/.cache" "/home/balsoft/.local/share/cargo" "/var/cache" ];
2021-06-08 19:35:21 +03:00
2021-06-11 14:52:11 +03:00
persist.state.directories = [ "/var/lib/nixos" "/var/lib/systemd" ];
2021-01-21 21:13:53 +03:00
system.stateVersion = "18.03";
2021-01-20 17:54:50 +03:00
2021-06-11 14:52:11 +03:00
systemd.services.systemd-timesyncd.wantedBy = [ "multi-user.target" ];
systemd.timers.systemd-timesyncd = { timerConfig.OnCalendar = "hourly"; };
services.avahi.enable = true;
2020-02-17 16:00:59 +03:00
}