updated
This commit is contained in:
parent
239fba826b
commit
370948543d
@ -13,13 +13,14 @@
|
||||
../../modules/home-manager/password-store
|
||||
../../modules/home-manager/taskwarrior
|
||||
../../modules/home-manager/kubernetes.nix
|
||||
../../modules/home-manager/nix-index.nix
|
||||
../../modules/home-manager/bitwarden.nix
|
||||
];
|
||||
home.username = "mthomson";
|
||||
home.homeDirectory = "/Users/mthomson";
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
ZK_NOTEBOOK_DIR = "\${HOME}/zk";
|
||||
};
|
||||
|
||||
@ -43,10 +44,16 @@
|
||||
lazygit = {
|
||||
enable = true;
|
||||
};
|
||||
man = {
|
||||
enable = true;
|
||||
};
|
||||
tealdeer = {
|
||||
enable = true;
|
||||
settings.updates.auto_update = true;
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
tldr
|
||||
];
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
15
modules/home-manager/bitwarden.nix
Normal file
15
modules/home-manager/bitwarden.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs = {
|
||||
rbw = {
|
||||
enable = true;
|
||||
settings = {
|
||||
email = "michael@michaelthomson.dev";
|
||||
base_url = "https://vaultwarden.michaelthomson.dev";
|
||||
pinentry = pkgs.pinentry-tty;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -69,7 +69,7 @@
|
||||
address = "michael@michaelthomson.dev";
|
||||
realName = "Michael Thomson";
|
||||
userName = "michael@michaelthomson.dev";
|
||||
passwordCommand = "pass email/michael@michaelthomson.dev";
|
||||
passwordCommand = "rbw get --folder email michael@michaelthomson.dev";
|
||||
aerc = {
|
||||
enable = true;
|
||||
};
|
||||
|
@ -7,6 +7,9 @@
|
||||
enable = true;
|
||||
userName = "Michael Thomson";
|
||||
userEmail = "michael@michaelthomson.dev";
|
||||
diff-so-fancy = {
|
||||
enable = true;
|
||||
};
|
||||
includes = [
|
||||
{
|
||||
condition = "gitdir:~/dev/work/";
|
||||
|
12
modules/home-manager/nix-index.nix
Normal file
12
modules/home-manager/nix-index.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
programs = {
|
||||
nix-index = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
};
|
||||
}
|
@ -16,6 +16,7 @@ config,
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
vimdiffAlias = true;
|
||||
|
||||
colorschemes = {
|
||||
kanagawa = {
|
||||
@ -36,10 +37,6 @@ config,
|
||||
laststatus = 3;
|
||||
swapfile = false;
|
||||
|
||||
clipboard = {
|
||||
register = "unnamedplus";
|
||||
};
|
||||
|
||||
breakindent = true;
|
||||
undofile = true;
|
||||
ignorecase = true;
|
||||
@ -427,16 +424,19 @@ config,
|
||||
nixd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
nixpkgs = {
|
||||
expr = "(builtins.getFlake (\"git+file://\" + toString ./.)).inputs.nixpkgs { }";
|
||||
};
|
||||
formatting = {
|
||||
command = ["alejandra"];
|
||||
};
|
||||
options = {
|
||||
nixos = {
|
||||
expr = "(builtins.getFlake (\"git+file://\" + toString ./.)).nixosConfigurations.desktop.options";
|
||||
};
|
||||
nix-darwin = {
|
||||
expr = "(builtins.getFlake (\"git+file://\" + toString ./.)).darwinConfigurations.macbook.options";
|
||||
};
|
||||
home-manager = {
|
||||
expr = "(import <home-manager/modules> { configuration = ~/.config/home-manager/home.nix; pkgs = import <nixpkgs> {}; }).options";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -459,6 +459,9 @@ config,
|
||||
enable = true;
|
||||
tslsIntegration = true;
|
||||
};
|
||||
gopls = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
keymaps = {
|
||||
diagnostic = {
|
||||
@ -481,6 +484,9 @@ config,
|
||||
jest = {
|
||||
enable = true;
|
||||
};
|
||||
go = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user