2023-09-15 07:13:52 +01:00
|
|
|
{ config, pkgs, lib, user, ... }:
|
2023-09-10 17:07:11 +01:00
|
|
|
|
|
|
|
{
|
2023-09-26 11:34:32 +01:00
|
|
|
home.packages = with pkgs; [ davmail openfortivpn nomachine-client ];
|
2023-08-07 10:00:57 +01:00
|
|
|
programs = {
|
|
|
|
git.userEmail = "evie.litherland-smith@ukaea.uk";
|
|
|
|
ssh.matchBlocks = {
|
|
|
|
"git.ccfe.ac.uk" = { user = "git"; };
|
2023-09-25 17:57:14 +01:00
|
|
|
"freia".hostname = "freia020.hpc.l";
|
2023-08-07 10:00:57 +01:00
|
|
|
"freia???" = lib.hm.dag.entryAfter [ "freia" ] { hostname = "%h.hpc.l"; };
|
2023-09-25 17:57:14 +01:00
|
|
|
"heimdall".hostname = "heimdall003.jet.uk";
|
2023-08-07 10:00:57 +01:00
|
|
|
"heimdall???" =
|
|
|
|
lib.hm.dag.entryAfter [ "heimdall" ] { hostname = "%h.jet.uk"; };
|
2023-09-04 11:16:14 +01:00
|
|
|
"freia* heimdall*" =
|
|
|
|
lib.hm.dag.entryAfter [ "freia" "freia???" "heimdall" "heimdall???" ] {
|
|
|
|
user = "elitherl";
|
2023-09-06 16:57:37 +01:00
|
|
|
compression = true;
|
2023-09-04 11:16:14 +01:00
|
|
|
};
|
2023-08-07 10:00:57 +01:00
|
|
|
};
|
2023-09-15 07:13:52 +01:00
|
|
|
firefox.profiles.default.settings."browser.startup.homepage" =
|
|
|
|
"https://nucleus.ukaea.uk";
|
|
|
|
};
|
2023-09-25 17:59:40 +01:00
|
|
|
programs.mbsync.groups.inboxes.ukaea = [ "INBOX" ];
|
2023-09-30 07:38:52 +01:00
|
|
|
accounts = {
|
|
|
|
email.accounts = {
|
|
|
|
proton.primary = false;
|
|
|
|
ukaea = {
|
|
|
|
primary = true;
|
|
|
|
imapnotify.enable = true;
|
|
|
|
mbsync.enable = true;
|
|
|
|
msmtp.enable = true;
|
|
|
|
mu.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
calendar.accounts.ukaea = {
|
|
|
|
vdirsyncer.enable = false; # TEMP until fixed
|
|
|
|
khal.enable = false; # TEMP until fixed
|
|
|
|
};
|
|
|
|
contact.accounts.ukaea = {
|
|
|
|
vdirsyncer.enable = false; # TEMP until fixed
|
|
|
|
};
|
2023-08-07 10:00:57 +01:00
|
|
|
};
|
2023-09-28 11:05:14 +01:00
|
|
|
services.vdirsyncer.enable = lib.mkForce false; # TEMP until fixed
|
2023-08-21 11:01:19 +01:00
|
|
|
services.kanshi.profiles = {
|
|
|
|
undocked = {
|
2023-08-30 13:59:44 +01:00
|
|
|
outputs = [
|
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
|
|
|
mode = "1920x1080";
|
|
|
|
position = "0,0";
|
|
|
|
scale = 1.0;
|
|
|
|
status = "enable";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "*";
|
|
|
|
status = "enable";
|
|
|
|
}
|
|
|
|
];
|
2023-08-21 11:01:19 +01:00
|
|
|
};
|
|
|
|
work = {
|
|
|
|
outputs = [
|
|
|
|
{
|
|
|
|
criteria = "Iiyama North America PLB2403WS 0574281251316";
|
2023-08-22 15:41:24 +01:00
|
|
|
position = "0,0";
|
2023-08-21 11:01:19 +01:00
|
|
|
status = "enable";
|
|
|
|
}
|
|
|
|
{
|
2023-08-22 15:41:24 +01:00
|
|
|
criteria = "eDP-1";
|
|
|
|
status = "disable";
|
2023-08-21 11:01:19 +01:00
|
|
|
}
|
2023-08-30 13:59:44 +01:00
|
|
|
{
|
|
|
|
criteria = "*";
|
|
|
|
status = "enable";
|
|
|
|
}
|
2023-08-21 11:01:19 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
home = {
|
|
|
|
outputs = [
|
|
|
|
{
|
|
|
|
criteria = "Acer Technologies ED270R TJMEE0043W01";
|
|
|
|
position = "0,0";
|
|
|
|
status = "enable";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
|
|
|
status = "disable";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2023-09-04 08:53:41 +01:00
|
|
|
xdg.configFile."hypr/extra.conf".text = ''
|
2023-08-30 13:59:44 +01:00
|
|
|
misc {
|
|
|
|
disable_hyprland_logo = true
|
|
|
|
disable_splash_rendering = true
|
|
|
|
}
|
2023-09-04 08:53:41 +01:00
|
|
|
|
2023-08-21 11:01:19 +01:00
|
|
|
monitor=eDP-1,preferred,auto,1
|
2023-08-30 13:59:44 +01:00
|
|
|
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,0x185,1
|
|
|
|
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,1920x0,1,transform,1
|
2023-08-21 11:01:19 +01:00
|
|
|
monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1
|
|
|
|
'';
|
2023-07-12 16:43:18 +01:00
|
|
|
}
|