nixos-config/modules/workspace/misc.nix

35 lines
786 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-01-20 18:54:50 +04:00
environment.sessionVariables = config.home-manager.users.balsoft.home.sessionVariables // {
2020-02-17 17:00:59 +04:00
NIX_AUTO_RUN = "1";
};
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-21 22:13:53 +04:00
};
2021-01-20 18:54:50 +04:00
2021-01-21 22:13:53 +04:00
home-manager.users.balsoft.home.stateVersion = "20.09";
system.stateVersion = "18.03";
2021-01-20 18:54:50 +04:00
2020-02-17 17:00:59 +04:00
}