Sync starship config to freia as well as neovim

This commit is contained in:
Evie Litherland-Smith 2023-06-27 14:02:03 +01:00
parent 24ecf210d5
commit 1ec3a4484c

View file

@ -1,16 +1,11 @@
{...}: { {...}: {
imports = [./default.nix ./git/work.nix ./ssh/work.nix]; imports = [./default.nix ./git/work.nix ./ssh/work.nix];
programs.fish.functions.arch = '' programs.fish.functions.fsync = ''
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*'\ rsync -avz --filter=':- .gitignore' --exclude='.git*'\
--delete-during --delete-excluded\ --delete-during --delete-excluded\
$HOME/.config/nvim/ freia:.config/nvim $HOME/.config/nvim/ freia:.config/nvim
rsync -avz --delete-during --delete-excluded\
$HOME/.config/starship.toml freia:.config/starship.toml
''; '';
programs.firefox.profiles.default = { programs.firefox.profiles.default = {
settings."browser.startup.homepage" = "https://nucleus.ukaea.uk"; settings."browser.startup.homepage" = "https://nucleus.ukaea.uk";