mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 10:33:39 +00:00
Enable auto-save on neovim
This commit is contained in:
@@ -399,6 +399,7 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
|
auto-save.enable = true;
|
||||||
copilot-vim.enable = true;
|
copilot-vim.enable = true;
|
||||||
cmp-path.enable = true;
|
cmp-path.enable = true;
|
||||||
cmp-treesitter.enable = true;
|
cmp-treesitter.enable = true;
|
||||||
|
8
justfile
8
justfile
@@ -3,19 +3,19 @@ set export
|
|||||||
host := `hostname`
|
host := `hostname`
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
nixos-rebuild --use-remote-sudo -I nixos-config=machines/$host/configuration.nix switch --flake .
|
nixos-rebuild --use-remote-sudo -I nixos-config=machines/$host/configuration.nix switch --flake .
|
||||||
|
|
||||||
build-mac:
|
build-mac:
|
||||||
darwin-rebuild switch -I nixos-config="machines/$host/configuration.nix" --flake .
|
darwin-rebuild switch -I nixos-config="machines/$host/configuration.nix" --flake .
|
||||||
|
|
||||||
rollback:
|
rollback:
|
||||||
nixos-rebuild --use-remote-sudo switch --rollback -I nixos-config="machines/$host/configuration.nix"
|
nixos-rebuild --use-remote-sudo switch --rollback -I nixos-config="machines/$host/configuration.nix"
|
||||||
|
|
||||||
update:
|
update:
|
||||||
@./nix-flake-update.sh
|
@./nix-flake-update.sh
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
nixpkgs-fmt .
|
nixpkgs-fmt .
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
echo 'Cleaning user...'
|
echo 'Cleaning user...'
|
||||||
|
Reference in New Issue
Block a user