nixos-config/modules/workspace/misc.nix

30 lines
749 B
Nix
Raw Normal View History

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