nixos/home/work.nix

82 lines
2.5 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";
tags = ["git" "source" "work" "UKAEA"];
url = "https://git.ccfe.ac.uk";
}
{
name = "Nucleus";
tags = ["work" "UKAEA"];
url = "https://nucleus.ukaea.uk";
}
{
name = "U4BW";
tags = ["work" "UKAEA" "admin"];
url = "https://ubw.unit4cloud.com/uk_aea_prod_web";
}
{
name = "Outlook";
tags = ["work" "UKAEA" "email"];
url = "https://outlook.office.com";
}
{
name = "Microsoft Teams";
tags = ["work" "UKAEA" "communication"];
url = "https://teams.microsoft.com";
}
{
name = "SharePoint";
tags = ["work" "UKAEA" "cloud" "storage"];
url = "https://ukaeauk-my.sharepoint.com/personal/evie_litherland-smith_ukaea_uk/_layouts/15/onedrive.aspx?view=0";
}
{
name = "Physics Summary";
tags = ["work" "UKAEA" "JET" "operations"];
url = "https://users.euro-fusion.org/pages/physics-summary/LatestSession.php";
}
{
name = "JET homepage";
tags = ["work" "UKAEA" "JET"];
url = "w3.jet.uk";
}
];
}
];
};
}