Testing home-manager stuff
This commit is contained in:
parent
1e298cbb0d
commit
d9eac56b06
4 changed files with 55 additions and 4 deletions
|
@ -3,6 +3,7 @@
|
|||
users.users.albert = {
|
||||
packages = with pkgs; [
|
||||
firefox
|
||||
thunderbird
|
||||
bitwarden
|
||||
steam
|
||||
lutris
|
||||
|
@ -14,5 +15,6 @@
|
|||
# Software configurations
|
||||
../software/firefox.nix
|
||||
../software/weechat.nix
|
||||
../software/thunderbird.nix
|
||||
];
|
||||
}
|
|
@ -19,14 +19,14 @@
|
|||
# "host"
|
||||
"ssh"
|
||||
"cwd"
|
||||
"root"
|
||||
];
|
||||
modulesRight = [
|
||||
"nix-shell"
|
||||
"perms"
|
||||
"git"
|
||||
"docker"
|
||||
"exit"
|
||||
"root"
|
||||
];
|
||||
modulesRight = [
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -90,7 +90,6 @@
|
|||
nrs = "nixos-rebuild --upgrade switch";
|
||||
nrt = "nixos-rebuild test";
|
||||
nrb = "nixos-rebuild build";
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
9
home-manager/thunderbird.nix
Normal file
9
home-manager/thunderbird.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }: {
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
profiles.Default = {
|
||||
isDefault = true;
|
||||
name = "default";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -7,4 +7,45 @@
|
|||
# Universal Configs:
|
||||
../../home-manager
|
||||
];
|
||||
|
||||
accounts = {
|
||||
email = {
|
||||
accounts."sysctl" = {
|
||||
thunderbird.enable = true;
|
||||
userName = "albert";
|
||||
primary = true;
|
||||
address = "albert@sysctl.io";
|
||||
# password
|
||||
# https://nix-community.github.io/home-manager/options.html#opt-accounts.email.accounts._name_.passwordCommand
|
||||
# password_command = "cat /var/run/sysctl-email"
|
||||
aliases = [ "postmaster@sysctl.io" ];
|
||||
realName = "Albert J. Copeland";
|
||||
signature = ''
|
||||
Albert J. Copeland
|
||||
albert@sysctl.io
|
||||
PGP: 64F6C4EB46C4543A
|
||||
'';
|
||||
gpg = {
|
||||
encryptByDefault = true;
|
||||
key = "64F6C4EB46C4543A";
|
||||
signByDefault = true;
|
||||
};
|
||||
imap = {
|
||||
host = "sysctl.io";
|
||||
tls = {
|
||||
enable = true;
|
||||
useStartTls = true;
|
||||
};
|
||||
};
|
||||
smtp = {
|
||||
host = "sysctl.io";
|
||||
tls = {
|
||||
enable = true;
|
||||
useStartTls = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
calendar = {};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue