feat: add jdk17 & add homebrew to path

This commit is contained in:
Maddie H 2024-10-06 21:29:49 +01:00
parent 10965d15e4
commit 3abad17a3d
4 changed files with 16 additions and 0 deletions

View File

@ -50,6 +50,7 @@
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.users.${username}.imports = [ home-manager.users.${username}.imports = [
./homes/common/java.nix
./homes/common/ssh ./homes/common/ssh
./homes/common/amfora.nix ./homes/common/amfora.nix
./homes/common/btop.nix ./homes/common/btop.nix
@ -161,6 +162,7 @@
home-manager.users.${username}.imports = [ home-manager.users.${username}.imports = [
./homes/laptop/home.nix ./homes/laptop/home.nix
./homes/laptop/ssh.nix ./homes/laptop/ssh.nix
./homes/laptop/shell.nix
./homes/common/ssh ./homes/common/ssh
./homes/common/amfora.nix ./homes/common/amfora.nix
./homes/common/btop.nix ./homes/common/btop.nix

7
homes/common/java.nix Normal file
View File

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
jdk17
];
}

5
homes/laptop/shell.nix Normal file
View File

@ -0,0 +1,5 @@
{
home.sessionPath = [
"/opt/homebrew/bin"
];
}

View File

@ -13,5 +13,7 @@
fzf fzf
bat bat
git git
jdk17
]; ];
} }