Set work laptop to pull git email address from account setting

Set Scorch home config to just import Ronin home config, minimise
duplication since I want them to be the same anyway
This commit is contained in:
Evie Litherland-Smith 2024-03-11 11:15:28 +00:00
parent 4eaca262ea
commit 720a736b0c
2 changed files with 7 additions and 16 deletions

View file

@ -1,6 +1,10 @@
{pkgs, ...}: {
{
config,
pkgs,
...
}: {
home.packages = [(pkgs.writeShellScriptBin "ukaea-vpn-connect" "sudo ${pkgs.openfortivpn}/bin/openfortivpn -c ${./ukaea-vpn.conf}")];
programs.git.userEmail = "evie.litherland-smith@ukaea.uk";
programs.git.userEmail = config.accounts.email.accounts.outlook.address;
accounts.email.accounts = {
proton.primary = false;
outlook = {

View file

@ -1,14 +1 @@
{...}: {
programs.git.userEmail = "evie.litherland-smith@ukaea.uk";
accounts.email.accounts = {
proton.primary = false;
outlook = {
primary = true;
mu.enable = true;
};
};
wayland.windowManager.hyprland.settings = {
misc.force_default_wallpaper = 0;
monitor = ["desc:Dell Inc. DELL P3223QE CCG8YN3,highres,0x0,1.5"];
};
}
{...}: {imports = [../Ronin/home.nix];}