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