Move common work config to home/work.nix
Add Nucleus as firefox homepage for work machines
This commit is contained in:
parent
c9ae2d37e8
commit
cc4e511a94
|
@ -1,14 +1,5 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [./default.nix];
|
||||
programs.git.userEmail = config.accounts.email.accounts.outlook.address;
|
||||
accounts.email.accounts = {
|
||||
proton.primary = lib.mkForce false;
|
||||
outlook.primary = lib.mkForce true;
|
||||
};
|
||||
{...}: {
|
||||
imports = [./work.nix];
|
||||
wayland.windowManager.sway.config.output = {
|
||||
"Dell Inc. DELL P3223QE CCG8YN3" = {
|
||||
pos = "0 0";
|
||||
|
|
|
@ -1,19 +1,5 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [./default.nix];
|
||||
home.packages = [
|
||||
pkgs.freecad
|
||||
(pkgs.writeShellScriptBin "ukaea-vpn-connect" "sudo ${pkgs.openfortivpn}/bin/openfortivpn -c ${./ukaea-vpn.conf}")
|
||||
];
|
||||
programs.git.userEmail = config.accounts.email.accounts.outlook.address;
|
||||
accounts.email.accounts = {
|
||||
proton.primary = lib.mkForce false;
|
||||
outlook.primary = lib.mkForce true;
|
||||
};
|
||||
{...}: {
|
||||
imports = [./work.nix];
|
||||
wayland.windowManager.sway.config.output = {
|
||||
"eDP-1".scale = "1.25";
|
||||
"Dell Inc. DELL P3223QE CCG8YN3".scale = "1.5";
|
||||
|
|
19
home/work.nix
Normal file
19
home/work.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [./default.nix];
|
||||
home.packages = [
|
||||
(pkgs.writeShellScriptBin "ukaea-vpn-connect" "sudo ${pkgs.openfortivpn}/bin/openfortivpn -c ${./ukaea-vpn.conf}")
|
||||
];
|
||||
programs = {
|
||||
git.userEmail = config.accounts.email.accounts.outlook.address;
|
||||
firefox.policies.Homepage.URL = "https://nucleus.ukaea.uk";
|
||||
};
|
||||
accounts.email.accounts = {
|
||||
proton.primary = lib.mkForce false;
|
||||
outlook.primary = lib.mkForce true;
|
||||
};
|
||||
}
|
Reference in a new issue