2023-08-31 12:22:29 +01:00
|
|
|
{ pkgs, lib, user, shellConfig, ... }:
|
|
|
|
let homeDirectory = "/home/${user}";
|
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-08-31 12:22:29 +01:00
|
|
|
inherit homeDirectory;
|
|
|
|
username = user;
|
2023-07-12 16:43:18 +01:00
|
|
|
stateVersion = "22.11";
|
2023-08-03 15:15:31 +01:00
|
|
|
packages = with pkgs; [
|
|
|
|
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"; };
|
2023-09-04 11:16:14 +01:00
|
|
|
"freia" = {
|
|
|
|
hostname = "freia020.hpc.l";
|
|
|
|
localForwards = [
|
|
|
|
{
|
|
|
|
# Jupyter Lab
|
|
|
|
bind.port = 6702;
|
|
|
|
host.address = "localhost";
|
|
|
|
host.port = 6702;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
# Dash/Plotly
|
|
|
|
bind.port = 8050;
|
|
|
|
host.address = "localhost";
|
|
|
|
host.port = 8050;
|
|
|
|
}
|
|
|
|
];
|
2023-08-07 10:00:57 +01:00
|
|
|
};
|
|
|
|
"freia???" = lib.hm.dag.entryAfter [ "freia" ] { hostname = "%h.hpc.l"; };
|
2023-09-06 08:13:13 +01:00
|
|
|
"heimdall" = {
|
|
|
|
hostname = "heimdall003.jet.uk";
|
|
|
|
localForwards = [
|
|
|
|
{
|
|
|
|
# Jupyter Lab
|
|
|
|
bind.port = 6703;
|
|
|
|
host.address = "localhost";
|
|
|
|
host.port = 6702;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
# Dash/Plotly
|
|
|
|
bind.port = 8051;
|
|
|
|
host.address = "localhost";
|
|
|
|
host.port = 8050;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
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-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";
|
|
|
|
}
|
2023-09-04 11:00:30 +01:00
|
|
|
{
|
|
|
|
name = "Marval";
|
|
|
|
tags = [ "admin" "helpdesk" ];
|
|
|
|
url = "https://marval.service.ukaea.uk/MSMSelfService/Index.aspx";
|
|
|
|
}
|
2023-08-07 10:00:57 +01:00
|
|
|
{
|
|
|
|
name = "JET homepage";
|
|
|
|
tags = [ "JET" ];
|
2023-08-11 08:51:22 +01:00
|
|
|
url = "http://w3.jet.uk/index.shtml";
|
2023-08-07 10:00:57 +01:00
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Physics Summary";
|
|
|
|
tags = [ "JET" "operations" ];
|
2023-09-01 17:09:14 +01:00
|
|
|
url =
|
|
|
|
"https://users.euro-fusion.org/pages/physics-summary/LatestSession.php";
|
2023-08-07 10:00:57 +01:00
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "JSPO";
|
|
|
|
tags = [ "JET" "operations" ];
|
|
|
|
url = "https://www.jspo.jet.uk/";
|
|
|
|
}
|
2023-09-01 17:09:14 +01:00
|
|
|
{
|
|
|
|
name = "DRS";
|
|
|
|
tags = [ "JET" "operations" ];
|
|
|
|
url = "http://jlswebhost.jet.uk:8087/jls/experiments/indexdrs.html";
|
|
|
|
}
|
2023-08-22 10:08:06 +01:00
|
|
|
{
|
|
|
|
name = "pySpec";
|
|
|
|
tags = [ "JET" "operations" ];
|
|
|
|
url = "http://heimdall003.jet.uk:3060/v1/interactive";
|
|
|
|
}
|
2023-08-07 10:00:57 +01:00
|
|
|
{
|
|
|
|
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";
|
|
|
|
}
|
2023-08-10 11:59:59 +01:00
|
|
|
{
|
|
|
|
name = "Diagnostic Coordinator";
|
|
|
|
tags = [ "JET" "operations" "wiki" ];
|
|
|
|
url =
|
|
|
|
"https://wiki.jetdata.eu/open/index.php?title=Diagnostic_Coordinator_Wiki";
|
|
|
|
}
|
2023-08-07 10:00:57 +01:00
|
|
|
{
|
|
|
|
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" ];
|
2023-08-10 11:59:59 +01:00
|
|
|
url = "http://webmimic.jet.uk/DG/codas/kt3spec.mim.html";
|
2023-08-07 10:00:57 +01:00
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}];
|
|
|
|
};
|
|
|
|
};
|
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-09-04 08:53:41 +01:00
|
|
|
|
2023-09-05 12:49:33 +01:00
|
|
|
windowrule = nofullscreenrequest,(Nxplayer.bin)
|
|
|
|
windowrule = nomaximizerequest,(Nxplayer.bin)
|
|
|
|
windowrulev2 = nofullscreenrequest,title:(Zoom|zoom)
|
|
|
|
windowrulev2 = nomaximizerequest,title:(Zoom|zoom)
|
|
|
|
|
|
|
|
windowrule = workspace 6,(teams-for-linux)
|
|
|
|
windowrulev2 = workspace 7,title:(Zoom|zoom)
|
|
|
|
windowrule = workspace 8,(Nxplayer.bin)
|
2023-08-21 11:01:19 +01:00
|
|
|
'';
|
2023-07-12 16:43:18 +01:00
|
|
|
}
|