moved nixvim into own home-manager module.

moved pass store location.
This commit is contained in:
Gabe Venberg 2024-03-31 17:42:33 -05:00
parent bbc6beb3da
commit 2253c6c34a
28 changed files with 24 additions and 11 deletions

View file

@ -5,11 +5,11 @@
# Nixpkgs # Nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# Home manager
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixvim = { nixvim = {
url = "github:nix-community/nixvim"; url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View file

@ -22,11 +22,12 @@
}; };
home.username = "gabe"; home.username = "gabe";
home.homeDirectory = "/home/gabe"; home.homeDirectory = /home/gabe;
imports = [ imports = [
../../modules/home-manager/terminal ../../modules/home-manager/terminal
../../modules/home-manager/nvim
../../modules/home-manager ../../modules/home-manager
../../modules/home-manager/kittty ../../modules/home-manager/kittty.nix
inputs.nixvim.homeManagerModules.nixvim inputs.nixvim.homeManagerModules.nixvim
]; ];
} }

View file

@ -22,9 +22,11 @@
targets.genericLinux.enable = true; targets.genericLinux.enable = true;
home.username = "gabe"; home.username = "gabe";
home.homeDirectory = "/home/gabe"; home.homeDirectory = /home/gabe;
imports = [ imports = [
../modules/home-manager/terminal ../modules/home-manager/terminal
../modules/home-manager/nvim
../modules/home-manager ../modules/home-manager
../modules/home-manager/syncthing.nix
]; ];
} }

View file

@ -25,9 +25,10 @@
targets.genericLinux.enable = true; targets.genericLinux.enable = true;
home.username = "gabe"; home.username = "gabe";
home.homeDirectory = "/home/gabe"; home.homeDirectory = /home/gabe;
imports = [ imports = [
../modules/home-manager/terminal ../modules/home-manager/terminal
../modules/home-manager/nvim
../modules/home-manager ../modules/home-manager
]; ];
} }

View file

@ -22,11 +22,12 @@
}; };
home.username = "gabe"; home.username = "gabe";
home.homeDirectory = "/home/gabe"; home.homeDirectory = /home/gabe;
imports = [ imports = [
../../modules/home-manager/terminal ../../modules/home-manager/terminal
../../modules/home-manager/nvim
../../modules/home-manager ../../modules/home-manager
../../modules/home-manager/kittty ../../modules/home-manager/kittty.nix
inputs.nixvim.homeManagerModules.nixvim inputs.nixvim.homeManagerModules.nixvim
]; ];
} }

View file

@ -0,0 +1,8 @@
{
config,
pkgs,
lib,
...
}: {
services.syncthing.enable = true;
}

View file

@ -44,7 +44,6 @@
./git.nix ./git.nix
./starship.nix ./starship.nix
./voice.nix ./voice.nix
./nvim
./zellij ./zellij
./tiny-irc.nix ./tiny-irc.nix
./pass.nix ./pass.nix
@ -64,6 +63,4 @@
nix-direnv.enable = true; nix-direnv.enable = true;
}; };
}; };
services.syncthing.enable = true;
} }

View file

@ -6,6 +6,9 @@
}: { }: {
programs.password-store = { programs.password-store = {
enable = true; enable = true;
settings={
PASSWORD_STORE_DIR = "$HOME/keys/password-store";
};
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -13,6 +16,6 @@
]; ];
programs.nushell.extraEnv = '' programs.nushell.extraEnv = ''
$env.PASSWORD_STORE_DIR = ($env.XDG_DATA_HOME | path join "password-store") $env.PASSWORD_STORE_DIR = ($env.HOME | path join "keys" "password-store")
''; '';
} }