home-manager/home.nix
2024-11-27 18:14:36 +01:00

44 lines
882 B
Nix

{ config, pkgs, ... }:
let
username = "leon";
homeDir = "/home/${username}";
in
{
imports = [
# ./hypr.nix
./common.nix
./firefox.nix
];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = username;
home.homeDirectory = homeDir;
programs.firefox = {
forcePrivateBrowsing = false;
policies.DNSOverHTTPS = {
Enabled = true;
ProviderURL = "https://family.cloudflare-dns.com/dns-query";
Locked = true;
Fallback = false;
};
};
programs.ssh.customMatchBlocks =
let
sshDir = "${homeDir}/.ssh";
in
{
"uni-paderborn.de upb.de *.uni-paderborn.de *.upb.de" = {
user = "lwilzer";
identityFile = "${sshDir}/unipaderborn";
};
};
programs.git.signing = {
signByDefault = true;
key = "0x645EFCD19E59ED05";
};
}