nixos-config/modules/workspace/misc.nix

39 lines
840 B
Nix
Raw Normal View History

{ pkgs, lib, config, inputs, ... }: {
2020-02-17 17:00:59 +04:00
systemd.coredump.enable = true;
2021-01-21 22:13:53 +04:00
2021-04-20 19:19:57 +04:00
environment.sessionVariables = config.home-manager.users.balsoft.home.sessionVariables // rec {
2020-02-17 17:00:59 +04:00
NIX_AUTO_RUN = "1";
2021-04-20 19:19:57 +04:00
LESS = "MR";
SYSTEMD_LESS = LESS;
};
2020-02-17 17:00:59 +04:00
home-manager.users.balsoft = {
xdg.enable = true;
home.activation."mimeapps-remove" = {
before = [ "linkGeneration" ];
after = [ ];
data = "rm -f /home/balsoft/.config/mimeapps.list";
};
2021-01-21 22:13:53 +04:00
2020-02-17 17:00:59 +04:00
news.display = "silent";
programs.command-not-found = {
enable = true;
dbPath = ../../misc/programs.sqlite;
};
systemd.user.startServices = true;
2021-02-28 20:06:01 +04:00
programs.direnv.enable = true;
programs.direnv.enableNixDirenvIntegration = 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:35:21 +04:00
2021-06-07 19:22:59 +04:00
services.avahi.enable = true;
2021-01-21 22:13:53 +04:00
system.stateVersion = "18.03";
2021-01-20 18:54:50 +04:00
2020-02-17 17:00:59 +04:00
}