sqlite3 .mode column

This commit is contained in:
mehbark 2025-03-25 14:25:12 -04:00
parent bfe90e0838
commit 47046c071d
4 changed files with 20 additions and 4 deletions

View file

@ -3,7 +3,6 @@
system.stateVersion = 4; system.stateVersion = 4;
nixpkgs.hostPlatform = "aarch64-darwin"; nixpkgs.hostPlatform = "aarch64-darwin";
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
services.nix-daemon.enable = true;
users.users.clark = { users.users.clark = {
name = "clark"; name = "clark";

View file

@ -107,5 +107,16 @@
format = "iso"; format = "iso";
}; };
}; };
packages.aarch64-darwin = {
iso = nixos-generators.nixosGenerate {
system = "x86_64-linux";
modules = modules ++ [{
nix.registry.nixpkgs.flake = nixpkgs;
virtualisation.diskSize = 20 * 1024;
}];
format = "iso";
};
};
}; };
} }

View file

@ -151,6 +151,7 @@ in
url = "https://raw.githubusercontent.com/samholmes/whiskers/main/whiskers.png"; url = "https://raw.githubusercontent.com/samholmes/whiskers/main/whiskers.png";
hash = "sha256-By6sRGNyK5Myk608crIO2vrnixZ0dJjoW26Y1I23Dto="; hash = "sha256-By6sRGNyK5Myk608crIO2vrnixZ0dJjoW26Y1I23Dto=";
}; };
".sqliterc".text = ".mode column";
}; };
programs.fish = { programs.fish = {
@ -163,10 +164,10 @@ in
programs.vscode = { programs.vscode = {
enable = true; enable = true;
enableUpdateCheck = false; profiles.default.enableUpdateCheck = false;
profiles.default.userSettings = (import ./vscode-settings.nix) { inherit pkgs; };
# i prefer to let vscode manage stuff # i prefer to let vscode manage stuff
mutableExtensionsDir = true; mutableExtensionsDir = true;
userSettings = (import ./vscode-settings.nix) { inherit pkgs; };
}; };
programs.neovim = { programs.neovim = {

View file

@ -541,7 +541,8 @@ If the new path's directories does not exist, create them."
;; Configure hooks to automatically turn-on eglot for selected modes ;; Configure hooks to automatically turn-on eglot for selected modes
:hook :hook
; (((python-mode ruby-mode) . eglot)) ; (((python-mode ruby-mode) . eglot))
((elixir-ts-mode . eglot-ensure)) ((elixir-ts-mode . eglot-ensure)
(rust-mode . eglot-ensure))
:custom :custom
;; let's try a higher idle time, elixir-ls is a bit finicky ;; let's try a higher idle time, elixir-ls is a bit finicky
@ -552,6 +553,10 @@ If the new path's directories does not exist, create them."
;; Sometimes you need to tell Eglot where to find the language server ;; Sometimes you need to tell Eglot where to find the language server
(add-to-list 'eglot-server-programs (add-to-list 'eglot-server-programs
'(elixir-ts-mode "${pkgs.elixir-ls}/bin/elixir-ls")) '(elixir-ts-mode "${pkgs.elixir-ls}/bin/elixir-ls"))
; i could nixify the rust-analyzer bin path buuuut
(add-to-list 'eglot-server-programs
'((rust-ts-mode rust-mode) .
("rust-analyzer" :initializationOptions (:check (:command "clippy")))))
) )
; oorg ; oorg