Compare commits

...

2 Commits

Author SHA1 Message Date
90bd763b13 lazyvim config 2024-11-20 14:00:03 +01:00
f5dfcecb7d add vault 2024-11-20 13:59:55 +01:00
4 changed files with 26 additions and 9 deletions

View File

@ -18,6 +18,8 @@
"lazyvim.plugins.extras.lang.typescript",
"lazyvim.plugins.extras.lang.vue",
"lazyvim.plugins.extras.lang.yaml",
"lazyvim.plugins.extras.formatting.prettier",
"lazyvim.plugins.extras.formatting.biome",
"lazyvim.plugins.extras.ui.mini-animate",
"lazyvim.plugins.extras.util.dot",
"lazyvim.plugins.extras.util.startuptime"

View File

@ -0,0 +1,13 @@
return {
{
"rmagatti/auto-session",
lazy = false,
---enables autocomplete for opts
---@module "auto-session"
---@type AutoSession.Config
opts = {
suppressed_dirs = { "~/", "~/Desktop", "~/Downloads", "/" },
},
},
}

View File

@ -33,6 +33,7 @@
# $ darwin-rebuild changelog
system.stateVersion = 5;
nixpkgs.hostPlatform = "aarch64-darwin";
nixpkgs.config.allowUnfree = true;
# Nix Darwin
# https://daiderd.com/nix-darwin/manual/index.html
@ -41,6 +42,7 @@
system.defaults.dock.autohide = true;
system.defaults.dock.orientation = "left";
system.defaults.finder.AppleShowAllExtensions = true;
system.keyboard.enableKeyMapping = true;
system.keyboard.remapCapsLockToEscape = true;
system.defaults.NSGlobalDomain.InitialKeyRepeat = 25;
system.defaults.NSGlobalDomain.KeyRepeat = 2;
@ -56,6 +58,12 @@
homebrew.enable = true;
homebrew.casks = import ./cask.nix;
# homebrew.taps = [
# "hashicorp/tap"
# ];
# homebrew.brews = [
# "hashicorp/tap/vault"
# ];
# Home Manager
home-manager.backupFileExtension = "backup";

View File

@ -1,6 +1,3 @@
# home.nix
# home-manager switch
{ config, pkgs, ... }:
{
@ -11,12 +8,6 @@
home.username = "niccoloborgioli";
home.homeDirectory = "/Users/niccoloborgioli";
# home.sessionPath = [
# "/run/current-system/sw/bin"
# "$HOME/.nix-profile/bin"
# ];
# Makes sense for user specific applications that shouldn't be available system-wide
home.packages = [
pkgs.tmux
pkgs.oh-my-posh
@ -50,6 +41,9 @@
pkgs.nixfmt-rfc-style
pkgs.fnm
# sflx
pkgs.vault
(pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];