mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2024-12-22 08:16:31 +00:00
add vault
This commit is contained in:
parent
e0a1f04b0f
commit
f5dfcecb7d
@ -33,6 +33,7 @@
|
|||||||
# $ darwin-rebuild changelog
|
# $ darwin-rebuild changelog
|
||||||
system.stateVersion = 5;
|
system.stateVersion = 5;
|
||||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Nix Darwin
|
# Nix Darwin
|
||||||
# https://daiderd.com/nix-darwin/manual/index.html
|
# https://daiderd.com/nix-darwin/manual/index.html
|
||||||
@ -41,6 +42,7 @@
|
|||||||
system.defaults.dock.autohide = true;
|
system.defaults.dock.autohide = true;
|
||||||
system.defaults.dock.orientation = "left";
|
system.defaults.dock.orientation = "left";
|
||||||
system.defaults.finder.AppleShowAllExtensions = true;
|
system.defaults.finder.AppleShowAllExtensions = true;
|
||||||
|
system.keyboard.enableKeyMapping = true;
|
||||||
system.keyboard.remapCapsLockToEscape = true;
|
system.keyboard.remapCapsLockToEscape = true;
|
||||||
system.defaults.NSGlobalDomain.InitialKeyRepeat = 25;
|
system.defaults.NSGlobalDomain.InitialKeyRepeat = 25;
|
||||||
system.defaults.NSGlobalDomain.KeyRepeat = 2;
|
system.defaults.NSGlobalDomain.KeyRepeat = 2;
|
||||||
@ -56,6 +58,12 @@
|
|||||||
|
|
||||||
homebrew.enable = true;
|
homebrew.enable = true;
|
||||||
homebrew.casks = import ./cask.nix;
|
homebrew.casks = import ./cask.nix;
|
||||||
|
# homebrew.taps = [
|
||||||
|
# "hashicorp/tap"
|
||||||
|
# ];
|
||||||
|
# homebrew.brews = [
|
||||||
|
# "hashicorp/tap/vault"
|
||||||
|
# ];
|
||||||
|
|
||||||
# Home Manager
|
# Home Manager
|
||||||
home-manager.backupFileExtension = "backup";
|
home-manager.backupFileExtension = "backup";
|
||||||
|
12
home.nix
12
home.nix
@ -1,6 +1,3 @@
|
|||||||
# home.nix
|
|
||||||
# home-manager switch
|
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -11,12 +8,6 @@
|
|||||||
home.username = "niccoloborgioli";
|
home.username = "niccoloborgioli";
|
||||||
home.homeDirectory = "/Users/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 = [
|
home.packages = [
|
||||||
pkgs.tmux
|
pkgs.tmux
|
||||||
pkgs.oh-my-posh
|
pkgs.oh-my-posh
|
||||||
@ -50,6 +41,9 @@
|
|||||||
pkgs.nixfmt-rfc-style
|
pkgs.nixfmt-rfc-style
|
||||||
pkgs.fnm
|
pkgs.fnm
|
||||||
|
|
||||||
|
# sflx
|
||||||
|
pkgs.vault
|
||||||
|
|
||||||
(pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
(pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user