nixfmt all
This commit is contained in:
parent
980500842d
commit
42238dc24f
20 changed files with 333 additions and 245 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.apps;
|
||||
in
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.apps.firefox;
|
||||
in
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.apps.git;
|
||||
in
|
||||
|
|
@ -18,14 +23,15 @@ in
|
|||
do_sign = lib.mkEnableOption "enable commit signing";
|
||||
};
|
||||
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = cfg.name;
|
||||
userEmail = cfg.email;
|
||||
extraConfig = {
|
||||
init = { defaultBranch = "main"; };
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
safe.directory = "/etc/nixos";
|
||||
pull.rebase = false;
|
||||
commit.gpgsign = cfg.do_sign;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.apps.thunderbird;
|
||||
in
|
||||
|
|
@ -7,10 +12,10 @@ in
|
|||
enable = lib.mkEnableOption "enable thunderbird";
|
||||
};
|
||||
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
accounts.email.accounts =
|
||||
let gpg_key = "A16CDCBF1472541F";
|
||||
let
|
||||
gpg_key = "A16CDCBF1472541F";
|
||||
in
|
||||
{
|
||||
"noa-voorwaarts" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue