2023-01-28 21:27:52 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
self,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
2021-05-30 19:33:09 +00:00
|
|
|
psCfg = config.pub-solar;
|
|
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
2023-01-28 21:27:52 +00:00
|
|
|
in {
|
2021-05-30 19:33:09 +00:00
|
|
|
imports = [
|
|
|
|
./session-variables.nix
|
2023-04-21 09:20:23 +00:00
|
|
|
./concepts-and-training.nix
|
2021-05-30 19:33:09 +00:00
|
|
|
];
|
|
|
|
|
2023-08-09 12:19:55 +00:00
|
|
|
pub-solar.audio.mopidy.enable = false;
|
|
|
|
|
2023-01-28 21:27:52 +00:00
|
|
|
home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
|
2021-05-30 19:33:09 +00:00
|
|
|
home.packages = with pkgs; [
|
2023-03-05 16:38:57 +00:00
|
|
|
present-md
|
2022-12-06 19:09:25 +00:00
|
|
|
inkscape
|
2023-06-26 19:10:25 +00:00
|
|
|
gpxsee
|
2023-01-26 11:42:10 +00:00
|
|
|
digikam
|
2022-11-27 20:36:59 +00:00
|
|
|
nix-output-monitor
|
2022-04-28 21:24:33 +00:00
|
|
|
tigervnc
|
2021-06-28 15:53:06 +00:00
|
|
|
nodejs
|
2022-10-24 19:52:40 +00:00
|
|
|
solaar
|
2023-02-21 11:38:01 +00:00
|
|
|
insomnia
|
2023-07-03 11:21:14 +00:00
|
|
|
concourse
|
2021-05-30 19:33:09 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
programs.ssh = {
|
|
|
|
enable = true;
|
|
|
|
matchBlocks = {
|
2023-09-16 20:00:50 +00:00
|
|
|
"pie.local" = {
|
|
|
|
hostname = "pie.local";
|
|
|
|
user = "yule";
|
|
|
|
};
|
|
|
|
|
2021-05-30 19:33:09 +00:00
|
|
|
"git.b12f.io" = {
|
|
|
|
hostname = "git.b12f.io";
|
|
|
|
user = "git";
|
2021-10-30 23:06:50 +00:00
|
|
|
port = 2222;
|
2021-05-30 19:33:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
"aur.archlinux.org" = {
|
|
|
|
user = "aur";
|
|
|
|
};
|
2021-10-30 23:06:50 +00:00
|
|
|
|
|
|
|
"leavieler.art" = {
|
|
|
|
hostname = "web5svsvy.wh.hosting.zone";
|
|
|
|
user = "web5svsvy_cgzqa3";
|
|
|
|
port = 2244;
|
|
|
|
};
|
|
|
|
|
|
|
|
"benjaminbaedorf.eu" = {
|
|
|
|
hostname = "web5svsvy.wh.hosting.zone";
|
|
|
|
user = "web5svsvy_cgzqa3";
|
|
|
|
port = 2244;
|
|
|
|
};
|
|
|
|
|
|
|
|
"miom.space" = {
|
|
|
|
hostname = "web7dgkba.wh.hosting.zone";
|
|
|
|
user = "web7dgkba_c9em8f";
|
|
|
|
port = 2244;
|
|
|
|
};
|
2022-03-24 20:07:11 +00:00
|
|
|
|
|
|
|
"latenight.blue" = {
|
|
|
|
hostname = "latenight.blue";
|
|
|
|
user = "lnb";
|
|
|
|
extraOptions = {
|
|
|
|
MACs = "hmac-sha2-512-etm@openssh.com";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
"blacktea.io" = {
|
|
|
|
hostname = "latenight.blue";
|
|
|
|
user = "lnb";
|
|
|
|
extraOptions = {
|
|
|
|
MACs = "hmac-sha2-512-etm@openssh.com";
|
|
|
|
};
|
|
|
|
};
|
2022-08-23 21:18:31 +00:00
|
|
|
|
|
|
|
"laurakirst.de" = {
|
|
|
|
hostname = "webj4bsux.wh.hosting.zone";
|
|
|
|
user = "webj4bsux_36qkrk";
|
|
|
|
port = 2244;
|
|
|
|
};
|
2021-05-30 19:33:09 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
xdg.configFile."mutt/accounts.muttrc".text = ''
|
|
|
|
source ./hello@benjaminbaedorf.eu.muttrc
|
|
|
|
|
|
|
|
macro index <f1> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/hello@benjaminbaedorf.eu.muttrc<enter><change-folder>!<enter>'
|
|
|
|
macro index <f2> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/benjamin.baedorf@rwth-aachen.de.muttrc<enter><change-folder>!<enter>'
|
|
|
|
macro index <f3> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/b.baedorf@openproject.com.muttrc<enter><change-folder>!<enter>'
|
2021-10-21 21:51:25 +00:00
|
|
|
macro index <f4> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/byb@miom.space.muttrc<enter><change-folder>!<enter>'
|
2022-11-09 19:25:44 +00:00
|
|
|
macro index <f5> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/mail@b12f.io.muttrc<enter><change-folder>!<enter>'
|
|
|
|
macro index <f6> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/admins@pub.solar.muttrc<enter><change-folder>!<enter>'
|
|
|
|
macro index <f7> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/crew@pub.solar.muttrc<enter><change-folder>!<enter>'
|
2021-05-30 19:33:09 +00:00
|
|
|
'';
|
|
|
|
xdg.configFile."mutt/hello@benjaminbaedorf.eu.muttrc".source = ./.config/mutt + "/hello@benjaminbaedorf.eu.muttrc";
|
|
|
|
xdg.configFile."mutt/benjamin.baedorf@rwth-aachen.de.muttrc".source = ./.config/mutt + "/benjamin.baedorf@rwth-aachen.de.muttrc";
|
|
|
|
xdg.configFile."mutt/hello@benjaminbaedorf.eu.signature".source = ./.config/mutt + "/hello@benjaminbaedorf.eu.signature";
|
|
|
|
xdg.configFile."mutt/b.baedorf@openproject.com.muttrc".source = ./.config/mutt + "/b.baedorf@openproject.com.muttrc";
|
|
|
|
xdg.configFile."mutt/b.baedorf@openproject.com.signature".source = ./.config/mutt + "/b.baedorf@openproject.com.signature";
|
2021-10-21 21:51:25 +00:00
|
|
|
xdg.configFile."mutt/byb@miom.space.muttrc".source = ./.config/mutt + "/byb@miom.space.muttrc";
|
|
|
|
xdg.configFile."mutt/byb@miom.space.signature".source = ./.config/mutt + "/byb@miom.space.signature";
|
2022-05-25 09:16:26 +00:00
|
|
|
xdg.configFile."mutt/mail@b12f.io.muttrc".source = ./.config/mutt + "/mail@b12f.io.muttrc";
|
|
|
|
xdg.configFile."mutt/mail@b12f.io.signature".source = ./.config/mutt + "/mail@b12f.io.signature";
|
2022-11-09 19:25:44 +00:00
|
|
|
xdg.configFile."mutt/admins@pub.solar.muttrc".source = ./.config/mutt + "/admins@pub.solar.muttrc";
|
|
|
|
xdg.configFile."mutt/admins@pub.solar.signature".source = ./.config/mutt + "/admins@pub.solar.signature";
|
|
|
|
xdg.configFile."mutt/crew@pub.solar.muttrc".source = ./.config/mutt + "/crew@pub.solar.muttrc";
|
|
|
|
xdg.configFile."mutt/crew@pub.solar.signature".source = ./.config/mutt + "/crew@pub.solar.signature";
|
2021-05-30 19:33:09 +00:00
|
|
|
xdg.configFile."offlineimap/config".source = ./.config/offlineimap/config;
|
|
|
|
xdg.configFile."msmtp/config".source = ./.config/msmtp/config;
|
|
|
|
# xdg.configFile."wallpaper.jpg".source = ./assets/wallpaper.jpg;
|
2023-01-28 21:11:05 +00:00
|
|
|
|
2023-02-07 23:34:34 +00:00
|
|
|
programs.bash.initExtra = ''
|
|
|
|
source ${config.age.secrets.b12f-env-secrets.path}
|
|
|
|
'';
|
2021-05-30 19:33:09 +00:00
|
|
|
};
|
|
|
|
|
2022-04-28 21:24:33 +00:00
|
|
|
age.secrets."mopidy.conf" = {
|
2021-10-24 15:30:24 +00:00
|
|
|
file = "${self}/secrets/mopidy.conf";
|
|
|
|
mode = "700";
|
2023-09-12 16:46:36 +00:00
|
|
|
owner = "b12f";
|
2021-10-24 15:30:24 +00:00
|
|
|
};
|
2023-01-28 21:27:52 +00:00
|
|
|
services.mopidy.extraConfigFiles = ["/run/agenix/mopidy.conf"];
|
2022-03-24 20:07:11 +00:00
|
|
|
|
|
|
|
programs.ssh.extraConfig = "
|
|
|
|
PubkeyAcceptedKeyTypes +ssh-rsa
|
|
|
|
";
|
2021-05-30 19:33:09 +00:00
|
|
|
}
|