nixos/home/work.nix

106 lines
3.2 KiB
Nix

{...}: {
imports = [./default.nix ./git/work.nix ./ssh/work.nix];
programs.fish.functions.fsync = ''
rsync -avz --copy-links --filter=':- .gitignore' --exclude='.git*'\
--delete-during --delete-excluded\
$HOME/.config/nvim/ freia:.config/nvim
rsync -avz --copy-links --delete-during --delete-excluded\
$HOME/.config/starship.toml freia:.config/starship.toml
'';
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";
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 = "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";
}
];
}
];
}
];
};
}