nixos/home/work.nix

111 lines
3.4 KiB
Nix
Raw Normal View History

{...}: {
imports = [./default.nix ./git/work.nix ./ssh/work.nix];
programs.fish.functions.arch = ''
distrobox list | grep -i archlinux > /dev/null || distrobox create -n arch -i docker.io/library/archlinux:latest -y
distrobox enter arch
'';
programs.fish.functions.nvsync = ''
rsync -avz --filter=':- .gitignore' --exclude='.git*'\
--delete-during --delete-excluded\
$HOME/.config/nvim/ heimdall003.jet.uk:.config/nvim
rsync -avz --filter=':- .gitignore' --exclude='.git*'\
--delete-during --delete-excluded\
$HOME/.config/nvim/ freia:.config/nvim
'';
2023-06-27 11:41:18 +01:00
programs.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";
2023-06-27 11:50:04 +01:00
tags = ["git" "source"];
2023-06-27 11:41:18 +01:00
url = "https://git.ccfe.ac.uk";
}
{
name = "Nucleus";
url = "https://nucleus.ukaea.uk";
}
{
name = "U4BW";
2023-06-27 11:50:04 +01:00
tags = ["admin"];
2023-06-27 11:41:18 +01:00
url = "https://ubw.unit4cloud.com/uk_aea_prod_web";
}
{
2023-06-27 11:50:04 +01:00
name = "JET homepage";
tags = ["JET"];
url = "w3.jet.uk";
2023-06-27 11:41:18 +01:00
}
{
name = "Physics Summary";
2023-06-27 11:50:04 +01:00
tags = ["JET" "operations"];
2023-06-27 11:41:18 +01:00
url = "https://users.euro-fusion.org/pages/physics-summary/LatestSession.php";
}
{
2023-06-27 11:50:04 +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";
}
{
name = "KS5";
tags = ["JET" "operations" "wiki"];
url = "https://wiki.jetdata.eu/open/index.php?title=CXS:Topic3";
}
{
name = "KT3";
tags = ["JET" "operations" "wiki"];
url = "https://wiki.jetdata.eu/open/index.php?title=KT3_Journals";
}
];
}
{
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-06-27 11:41:18 +01:00
}
];
}
];
};
}