49 lines
963 B
Nix
49 lines
963 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;
|
|
|
|
common.userHome = 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";
|
|
};
|
|
userEmail = "git@komu.boo";
|
|
};
|
|
}
|