Config improvements on hera and apollo
This commit is contained in:
parent
a6fb6f04b8
commit
08c06e3ae7
5 changed files with 28 additions and 8 deletions
|
@ -137,8 +137,16 @@ fonts.fontconfig.enableProfileFonts = true;
|
||||||
|
|
||||||
systemd.user.startServices = true;
|
systemd.user.startServices = true;
|
||||||
|
|
||||||
|
services = {
|
||||||
|
gpg-agent = {
|
||||||
|
enable = true;
|
||||||
|
defaultCacheTtl = 31536000;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
neovim
|
neovim
|
||||||
|
rust_scripts
|
||||||
];
|
];
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ config = mkIf config.m-0.eventd.enable {
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
Install = {
|
Install = {
|
||||||
WantedBy = [ "graphical-session.target" ];
|
WantedBy = [ "default.target" ];
|
||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
Type="notify";
|
Type="notify";
|
||||||
|
@ -54,7 +54,7 @@ config = mkIf config.m-0.eventd.enable {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
xdg = {
|
xdg = {
|
||||||
configFile = {
|
configFile = mkIf config.m-0.graphical.enable {
|
||||||
"eventd/eventd.conf".text = lib.generators.toINI {} {
|
"eventd/eventd.conf".text = lib.generators.toINI {} {
|
||||||
"Queue default" = {
|
"Queue default" = {
|
||||||
Margin = 10;
|
Margin = 10;
|
||||||
|
|
|
@ -48,7 +48,6 @@ config = mkIf config.m-0.graphical.enable {
|
||||||
};
|
};
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
rust_scripts
|
|
||||||
tasktree
|
tasktree
|
||||||
st
|
st
|
||||||
shutter
|
shutter
|
||||||
|
@ -89,11 +88,6 @@ config = mkIf config.m-0.graphical.enable {
|
||||||
imageDirectory = "%h/data/aktuell/media/bilder/wallpaper/";
|
imageDirectory = "%h/data/aktuell/media/bilder/wallpaper/";
|
||||||
interval = "15minutes";
|
interval = "15minutes";
|
||||||
};
|
};
|
||||||
gpg-agent = {
|
|
||||||
enable = true;
|
|
||||||
defaultCacheTtl = 900;
|
|
||||||
defaultCacheTtlSsh = 900;
|
|
||||||
};
|
|
||||||
redshift = {
|
redshift = {
|
||||||
enable = true;
|
enable = true;
|
||||||
temperature.day = 6500;
|
temperature.day = 6500;
|
||||||
|
|
|
@ -77,6 +77,16 @@ config = mkIf config.m-0.weechat.enable {
|
||||||
hackint.autojoin = "${config.m-0.weechat.channels}"
|
hackint.autojoin = "${config.m-0.weechat.channels}"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
alias = {
|
||||||
|
target = ".weechat/alias.conf";
|
||||||
|
text = ''
|
||||||
|
[cmd]
|
||||||
|
yes = "/msg beschlussbot .yes"
|
||||||
|
no = "/msg beschlussbot .no"
|
||||||
|
cancel = "/msg beschlussbot .cancel"
|
||||||
|
votes = "/msg beschlussbot .votes"
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
|
|
|
@ -12,12 +12,20 @@ m-0 = {
|
||||||
habitask.enable = true;
|
habitask.enable = true;
|
||||||
bugwarrior.enable = true;
|
bugwarrior.enable = true;
|
||||||
rustdev.enable = true;
|
rustdev.enable = true;
|
||||||
|
update_tasks.enable = true;
|
||||||
|
eventd.enable = true;
|
||||||
weechat = {
|
weechat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = config.m-0.private.hackint.user;
|
user = config.m-0.private.hackint.user;
|
||||||
pw = config.m-0.private.hackint.hackint_pw;
|
pw = config.m-0.private.hackint.hackint_pw;
|
||||||
channels = config.m-0.private.hackint.channels;
|
channels = config.m-0.private.hackint.channels;
|
||||||
};
|
};
|
||||||
|
mail = {
|
||||||
|
enable = true;
|
||||||
|
boxes = with config.m-0.private.mail; [ private work work2 ];
|
||||||
|
sendmail = with config.m-0.private.sendmail; [ private work work2 club club2 ];
|
||||||
|
default = config.m-0.private.sendmail.private;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue