nixos-config/profiles/workspace/misc.nix

37 lines
979 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-08-11 15:50:37 +04:00
CARGO_HOME = "${config.home-manager.users.balsoft.xdg.dataHome}/cargo";
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
2023-02-16 18:51:34 +04:00
home.stateVersion = lib.mkDefault "20.09";
2021-06-07 19:22:59 +04:00
};
2021-01-20 18:54:50 +04:00
2021-12-23 22:23:03 +04:00
home-manager.useGlobalPkgs = true;
2021-08-11 15:50:37 +04:00
persist.cache.directories = [ "/home/balsoft/.cache" "/home/balsoft/.local/share/cargo" "/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
2022-02-03 02:36:37 +04:00
system.stateVersion = lib.mkDefault "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;
2022-02-02 13:13:19 +04:00
environment.systemPackages = [ pkgs.ntfs3g ];
2020-02-17 17:00:59 +04:00
}