We out here
This commit is contained in:
+11
@@ -83,4 +83,15 @@ nix develop .#shells.x86_64-linux.debugTexShell
|
||||
|
||||
** Station ORG
|
||||
*** Move mail config
|
||||
|
||||
It seems there is some built in functionality here.
|
||||
|
||||
*** Add mail service
|
||||
|
||||
Will probably finish when system running
|
||||
|
||||
*** Git config
|
||||
|
||||
*** SSH config
|
||||
|
||||
*** PUBLIC KEYS AND SUCH
|
||||
|
||||
+1
-1
Submodule azos-core updated: d2880fa726...92027a293f
@@ -1,3 +1,3 @@
|
||||
{
|
||||
imports = [];
|
||||
imports = [./mail.nix];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
[commit]
|
||||
gpgsign = true
|
||||
[user]
|
||||
name = Aner Zakobar
|
||||
email = aner@zakobar.com
|
||||
signingkey = 6D17E295C70E2674
|
||||
[credential]
|
||||
helper = !pass-git-helper $@
|
||||
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.git.enable;
|
||||
in {
|
||||
optionns.azos.git.enable = lib.mkOption {
|
||||
default = true;
|
||||
example = true;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
|
||||
home.packages = with pkgs; [ pass-git-helper ];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Aner Zakobar";
|
||||
userEmail = "aner@zakobar.com";
|
||||
|
||||
signing = {
|
||||
key = "6D17E295C70E2674";
|
||||
signByDefault = true;
|
||||
};
|
||||
|
||||
extraConfig = {
|
||||
credential.helper = "!pass-git-helper $@";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
#https://xeiaso.net/talks/asg-2023-nixos/ example
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.mail.enable;
|
||||
in {
|
||||
optionns.azos.mail.enable = lib.mkOption {
|
||||
default = true;
|
||||
example = true;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
home.file."mail.txt".text = ''Mail enabled'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user