2023-08-08 08:21:51 +01:00
|
|
|
{ pkgs, lib, shellConfig, wallpapers, ... }:
|
2023-07-25 16:14:50 +01:00
|
|
|
let
|
2023-07-16 17:35:36 +01:00
|
|
|
username = "elitherl";
|
|
|
|
homeDirectory = "/home/${username}";
|
2023-08-02 15:10:24 +01:00
|
|
|
monitors = {
|
|
|
|
eDP-1 = "preferred,auto,1.25";
|
|
|
|
Iiyama = "preferred,0x185,1";
|
|
|
|
Dell = "preferred,1920x0,1,transform,1";
|
|
|
|
Acer = "highrr,auto,1";
|
|
|
|
};
|
2023-08-08 08:21:51 +01:00
|
|
|
in {
|
2023-08-07 10:00:57 +01:00
|
|
|
imports = [ shellConfig ../../home ];
|
2023-07-12 16:43:18 +01:00
|
|
|
home = {
|
2023-07-16 17:35:36 +01:00
|
|
|
inherit username homeDirectory;
|
2023-07-12 16:43:18 +01:00
|
|
|
stateVersion = "22.11";
|
2023-08-03 15:15:31 +01:00
|
|
|
packages = with pkgs; [
|
2023-08-03 21:26:48 +01:00
|
|
|
thunderbird
|
2023-08-03 15:15:31 +01:00
|
|
|
openfortivpn
|
|
|
|
nomachine-client
|
|
|
|
teams-for-linux
|
|
|
|
zoom-us
|
|
|
|
];
|
2023-07-12 16:43:18 +01:00
|
|
|
};
|
2023-08-07 10:00:57 +01:00
|
|
|
programs = {
|
|
|
|
git.userEmail = "evie.litherland-smith@ukaea.uk";
|
|
|
|
ssh.matchBlocks = {
|
|
|
|
"git.ccfe.ac.uk" = { user = "git"; };
|
|
|
|
"jupyter" = {
|
|
|
|
localForwards = [{
|
|
|
|
bind.port = 6702;
|
|
|
|
host.address = "localhost";
|
|
|
|
host.port = 6702;
|
|
|
|
}];
|
|
|
|
};
|
|
|
|
"freia jupyter" = { hostname = "freia020.hpc.l"; };
|
|
|
|
"freia???" = lib.hm.dag.entryAfter [ "freia" ] { hostname = "%h.hpc.l"; };
|
|
|
|
"heimdall" = { hostname = "heimdall003.jet.uk"; };
|
|
|
|
"heimdall???" =
|
|
|
|
lib.hm.dag.entryAfter [ "heimdall" ] { hostname = "%h.jet.uk"; };
|
|
|
|
"freia* jupyter" = lib.hm.dag.entryAfter [
|
|
|
|
"jupyter"
|
|
|
|
"freia jupyter"
|
|
|
|
"freia???"
|
|
|
|
"heimdall"
|
|
|
|
"heimdall???"
|
2023-08-08 08:21:51 +01:00
|
|
|
] { user = "elitherl"; };
|
2023-08-07 10:00:57 +01:00
|
|
|
};
|
|
|
|
firefox.profiles.default = {
|
|
|
|
settings."browser.startup.homepage" = "https://nucleus.ukaea.uk";
|
|
|
|
bookmarks = [{
|
|
|
|
name = "toolbar";
|
|
|
|
toolbar = true;
|
|
|
|
bookmarks = [
|
|
|
|
{
|
|
|
|
name = "Gitea";
|
|
|
|
tags = [ "git" "source" "xenia" ];
|
|
|
|
url = "https://git.xenia.me.uk";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "GitHub";
|
|
|
|
tags = [ "git" "source" ];
|
|
|
|
url = "https://github.com";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "GitLab";
|
|
|
|
tags = [ "git" "source" ];
|
|
|
|
url = "https://gitlab.com";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "UKAEA GitLab";
|
|
|
|
tags = [ "git" "source" ];
|
|
|
|
url = "https://git.ccfe.ac.uk";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Nucleus";
|
|
|
|
url = "https://nucleus.ukaea.uk";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "U4BW";
|
|
|
|
tags = [ "admin" ];
|
|
|
|
url = "https://ubw.unit4cloud.com/uk_aea_prod_web";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "JET homepage";
|
|
|
|
tags = [ "JET" ];
|
|
|
|
url = "w3.jet.uk";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Physics Summary";
|
|
|
|
tags = [ "JET" "operations" ];
|
|
|
|
url =
|
|
|
|
"https://users.euro-fusion.org/pages/physics-summary/LatestSession.php";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "JSPO";
|
|
|
|
tags = [ "JET" "operations" ];
|
|
|
|
url = "https://www.jspo.jet.uk/";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "OpenWikis";
|
|
|
|
bookmarks = [
|
|
|
|
{
|
|
|
|
name = "Home page";
|
|
|
|
tags = [ "JET" "operations" "wiki" ];
|
|
|
|
url = "https://wiki.jetdata.eu/open/index.php?title=Main_Page";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Spectroscopy Group";
|
|
|
|
tags = [ "JET" "operations" "wiki" ];
|
|
|
|
url =
|
|
|
|
"https://wiki.jetdata.eu/open/index.php?title=Spectroscopy_Group:index";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "KS5";
|
|
|
|
tags = [ "JET" "operations" "wiki" ];
|
|
|
|
url = "https://wiki.jetdata.eu/open/index.php?title=CXS:Topic3";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "KT3";
|
|
|
|
tags = [ "JET" "operations" "wiki" ];
|
2023-08-08 08:21:51 +01:00
|
|
|
url =
|
|
|
|
"https://wiki.jetdata.eu/open/index.php?title=KT3_Journals";
|
2023-08-07 10:00:57 +01:00
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "JET Mimics";
|
|
|
|
bookmarks = [
|
|
|
|
{
|
|
|
|
name = "Countdown";
|
|
|
|
tags = [ "JET" "operations" "mimics" ];
|
|
|
|
url = "http://webmimic.jet.uk/mc/codas/countdown";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "KS5";
|
|
|
|
tags = [ "JET" "operations" "mimics" ];
|
|
|
|
url = "http://webmimic.jet.uk/DG/codas/ks5.mim.html";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "KT3";
|
|
|
|
tags = [ "JET" "operations" "mimics" ];
|
|
|
|
url = "http://webmimic.jet.uk/DG/codas/kt3.mim.html";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}];
|
|
|
|
};
|
|
|
|
};
|
2023-08-08 08:21:51 +01:00
|
|
|
services.kanshi.profiles = {
|
|
|
|
undocked = {
|
|
|
|
outputs = [{
|
2023-08-02 15:10:24 +01:00
|
|
|
criteria = "eDP-1";
|
|
|
|
status = "enable";
|
|
|
|
}];
|
2023-08-08 08:21:51 +01:00
|
|
|
};
|
|
|
|
work = {
|
|
|
|
outputs = [
|
2023-08-02 15:10:24 +01:00
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
|
|
|
status = "disable";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "Iiyama North America PLB2403WS 0574281251316";
|
|
|
|
status = "enable";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L";
|
|
|
|
status = "enable";
|
|
|
|
}
|
|
|
|
];
|
2023-08-08 08:21:51 +01:00
|
|
|
};
|
|
|
|
home = {
|
|
|
|
outputs = [
|
2023-08-02 15:10:24 +01:00
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
|
|
|
status = "disable";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
criteria = "Acer Technologies ED270R TJMEE0043W01";
|
|
|
|
status = "enable";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
xdg.configFile."hypr/display.conf".text = ''
|
|
|
|
monitor=eDP-1,${monitors.eDP-1}
|
|
|
|
monitor=desc:Iiyama North America PLB2403WS 0574281251316,${monitors.Iiyama}
|
|
|
|
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,${monitors.Dell}
|
|
|
|
monitor=desc:Acer Technologies ED270R TJMEE0043W01,${monitors.Acer}
|
|
|
|
|
2023-08-08 08:21:51 +01:00
|
|
|
bindl=,switch:Lid Switch,exec,hyprctl reload
|
2023-08-03 10:37:36 +01:00
|
|
|
bindl=,switch:Lid Switch,exec,pkill -HUP kanshi
|
2023-08-03 21:26:48 +01:00
|
|
|
'';
|
2023-07-12 16:43:18 +01:00
|
|
|
}
|