Add function to sync neovim config to heimdall/freia
This commit is contained in:
parent
879be95abf
commit
9a1a5655c9
|
@ -4,7 +4,15 @@
|
||||||
home.homeDirectory = "/home/elitherl";
|
home.homeDirectory = "/home/elitherl";
|
||||||
home.stateVersion = "22.11";
|
home.stateVersion = "22.11";
|
||||||
|
|
||||||
programs.fish.shellAbbrs.hypr = "exec Hyprland";
|
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
|
||||||
|
'';
|
||||||
|
|
||||||
xdg.configFile."hypr/hyprpaper.conf".source = ./hypr/hyprpaper.conf;
|
xdg.configFile."hypr/hyprpaper.conf".source = ./hypr/hyprpaper.conf;
|
||||||
wayland.windowManager.hyprland.extraConfig = builtins.readFile ./hypr/hyprland.conf;
|
wayland.windowManager.hyprland.extraConfig = builtins.readFile ./hypr/hyprland.conf;
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
home.stateVersion = "22.11";
|
home.stateVersion = "22.11";
|
||||||
home.packages = with pkgs; [prismlauncher nomachine-client];
|
home.packages = with pkgs; [prismlauncher nomachine-client];
|
||||||
|
|
||||||
programs.fish.shellAbbrs.hypr = "exec Hyprland";
|
|
||||||
xdg.configFile."hypr/hyprpaper.conf".source = ./hypr/hyprpaper.conf;
|
xdg.configFile."hypr/hyprpaper.conf".source = ./hypr/hyprpaper.conf;
|
||||||
wayland.windowManager.hyprland.extraConfig = builtins.readFile ./hypr/hyprland.conf;
|
wayland.windowManager.hyprland.extraConfig = builtins.readFile ./hypr/hyprland.conf;
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
|
|
Loading…
Reference in a new issue