83 lines
4 KiB
Nix
83 lines
4 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
flake,
|
|
...
|
|
}: let
|
|
psCfg = config.pub-solar;
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
|
in {
|
|
imports = [
|
|
./home.nix
|
|
];
|
|
|
|
config = {
|
|
services.yubikey-agent.enable = true;
|
|
|
|
age.secrets.b12f-env-secrets = {
|
|
file = "${flake.self}/secrets/b12f-env-secrets";
|
|
mode = "400";
|
|
owner = psCfg.user.name;
|
|
};
|
|
|
|
pub-solar = {
|
|
# These are your personal settings
|
|
# The only required settings are `name` and `password`,
|
|
# The rest is used for programs like git
|
|
user = {
|
|
name = "b12f";
|
|
description = "b12f";
|
|
password = "$6$LO2YoaHwuRQhUoSz$iHw9avM887eJg9cIty2nmG4Ibkol3YpviEhYpivVQP31VrnihFz/6LyugxD7X4VmXx9nxvcYIZnN90rlGxwjT.";
|
|
fullName = "Benjamin Bädorf";
|
|
email = "hello@benjaminbaedorf.eu";
|
|
gpgKeyId = "4406E80E13CD656C";
|
|
publicKeys = [
|
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDDoYNvXWunQYFORRjcYH1F98+zr20U79ROh+gmaC7AY/x3yf4y8uyMayF56VgQLVNwgEchT5t4dNb9qo2+1oUnjiKrKAVfQMN6WMMMEr4F4WT784uvBx5Uo6vmhgAa+xoo62c4TV2Uf49ZiPd+zAApBHW1F/whPtunPF28Wfr9g+ozSidhnAr+3nkfJh331tz9s+wgQ39AFzFWftQ60Guulpfj8SaVyxyv/yZZAuFpXNzN0Cz4fWBIWFOsib6Z8y+SlUCzSzOguZ7FygHjwlvOxoISsASAuf0OfUKHxVshiL5F5AX1ddmUgXbUKUTp/3Iunr74pfOQC8TXzZHqhrlFzYDmK5J9E6eADSpgx++bCCaHycl73BWeertCBZSHBXeb3Db9HX+mxwpfP3alVAt4ZqQb3YD/VB7XGDvHbmLn+wSfecO2qA9PxiA0yX7e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mGkSZRzSS2vb5qr0J5aSJmCd5sNB7a01PTtSlQPOqSF9PB+UmcLDF7JoKFub0KT/gRZ5neZkXTYQ/Y05qtaaFVlOVISijnm+sLUvKBv6OW8oYXIHBk= b12f@chocolatebar"
|
|
|
|
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHx4A8rLYmFgTOp1fDGbbONN8SOT0l5wWrUSYFUcVzMPTyfdT23ZVIdVD5yZCySgi/7PSh5mVmyLIZVIXlNrZJg= @b12f Yubi Main"
|
|
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEST9eyAY3nzGYNnqDYfWHu+89LZsOjyKHMqCFvtP7vrgB7F7JbbECjdjAXEOfPDSCVwtMMpq8JJXeRMjpsD0rw= @b12f Yubi Backup"
|
|
];
|
|
};
|
|
|
|
paperless = {
|
|
enable = true;
|
|
ocrLanguage = "nld+deu";
|
|
dataDir = "${xdg.dataHome}/Paperless";
|
|
consumptionDir = "/home/${psCfg.user.name}/.local/share/scandir";
|
|
scannerDefaultDevice = "hp3900:libusb:005:004";
|
|
sync.enable = true;
|
|
};
|
|
|
|
arduino.enable = true;
|
|
email.enable = true;
|
|
uhk.enable = true;
|
|
social.enable = false;
|
|
gaming.enable = false;
|
|
mobile.enable = false;
|
|
audio.spotify.enable = true;
|
|
audio.spotify.username = "spotify@benjaminbaedorf.eu";
|
|
audio.mopidy.enable = false;
|
|
};
|
|
|
|
# Needed for the udev rules for solaar
|
|
hardware.logitech.wireless.enable = true;
|
|
networking.hosts = let
|
|
localDomains = [
|
|
"openproject.local"
|
|
"traefik.local"
|
|
"nextcloud.local"
|
|
"step.local"
|
|
"saas-1.openproject.local"
|
|
"transmission.local"
|
|
"erpnext.local"
|
|
];
|
|
in {
|
|
"127.0.0.1" = localDomains;
|
|
"::1" = localDomains;
|
|
};
|
|
};
|
|
}
|