2020-05-06 00:55:25 +04:00
|
|
|
{ pkgs, lib, config, inputs, ... }: {
|
2020-02-17 17:00:59 +04:00
|
|
|
programs.sway.enable = true;
|
|
|
|
users.users.balsoft.extraGroups = [ "sway" ];
|
|
|
|
systemd.coredump.enable = true;
|
|
|
|
programs.ssh.askPassword = "${pkgs.plasma5.ksshaskpass}/bin/ksshaskpass";
|
|
|
|
environment.sessionVariables = {
|
|
|
|
EDITOR = config.defaultApplications.editor.cmd;
|
|
|
|
VISUAL = config.defaultApplications.editor.cmd;
|
|
|
|
LESS = "-asrRix8";
|
|
|
|
XDG_SESSION_TYPE = "wayland";
|
|
|
|
QT_QPA_PLATFORM = "wayland";
|
|
|
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
|
|
|
NIX_AUTO_RUN = "1";
|
|
|
|
};
|
|
|
|
services.atd.enable = true;
|
2020-03-01 20:12:07 +04:00
|
|
|
|
2020-05-06 00:55:25 +04:00
|
|
|
containers.fhs-compat.config = {...}: {
|
|
|
|
imports = [ inputs.nixos-fhs-compat.nixosModules.combined ];
|
|
|
|
|
|
|
|
environment.fhs.enable = true;
|
|
|
|
environment.fhs.linkLibs = true;
|
|
|
|
environment.lsb.enable = true;
|
|
|
|
|
|
|
|
users.users.balsoft = {
|
|
|
|
isNormalUser = true;
|
|
|
|
password = "";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
services.udiskie.enable = true;
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userEmail = "balsoft@balsoft.ru";
|
|
|
|
userName = "Alexander Bantyev";
|
|
|
|
extraConfig.pull.rebase = true;
|
|
|
|
signing = {
|
|
|
|
signByDefault = true;
|
|
|
|
key = "687558B21E04FE92B255BED0E081FF12ADCB4AD5";
|
|
|
|
};
|
|
|
|
};
|
2020-02-28 13:16:25 +04:00
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
enableSshSupport = true;
|
2020-03-01 22:28:29 +04:00
|
|
|
pinentryFlavor = "gtk2";
|
2020-02-28 13:30:02 +04:00
|
|
|
sshKeys = [ "0819BD05AB506F55109B8418B7809DF496AD3C7B" ];
|
2020-02-28 13:16:25 +04:00
|
|
|
};
|
2020-02-28 13:19:29 +04:00
|
|
|
programs.gpg.enable = true;
|
2020-02-17 17:00:59 +04:00
|
|
|
news.display = "silent";
|
|
|
|
programs.command-not-found = {
|
|
|
|
enable = true;
|
|
|
|
dbPath = ../../misc/programs.sqlite;
|
|
|
|
};
|
|
|
|
home.keyboard = {
|
|
|
|
options = [ "grp:win_space_toggle,grp_led:caps,ctrl:nocaps" ];
|
|
|
|
layout = "us,ru";
|
|
|
|
};
|
|
|
|
home.file.".icons/default".source =
|
|
|
|
"${pkgs.breeze-qt5}/share/icons/breeze_cursors";
|
|
|
|
systemd.user.startServices = true;
|
2020-05-13 00:35:29 +04:00
|
|
|
services.kdeconnect.enable = true;
|
2020-02-17 17:00:59 +04:00
|
|
|
};
|
|
|
|
}
|