diff --git a/home/micqdf.nix b/home/micqdf.nix index e417792..5477839 100644 --- a/home/micqdf.nix +++ b/home/micqdf.nix @@ -11,6 +11,7 @@ }; home.packages = with pkgs; [ + jdk8 # neovim # firefox # ripgrep diff --git a/hosts/hypr-nix/configuration.nix b/hosts/hypr-nix/configuration.nix index c1b6525..cfb5f56 100644 --- a/hosts/hypr-nix/configuration.nix +++ b/hosts/hypr-nix/configuration.nix @@ -15,6 +15,7 @@ ./networking.nix ./gpu.nix ./sunshine.nix + ./home-manager.nix #./i3.nix ]; diff --git a/hosts/hypr-nix/home-manager.nix b/hosts/hypr-nix/home-manager.nix new file mode 100644 index 0000000..fc5b32a --- /dev/null +++ b/hosts/hypr-nix/home-manager.nix @@ -0,0 +1,18 @@ +{ config, pkgs, ... }: +let + home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz"; +in +{ + imports = [ + (import "${home-manager}/nixos") + ]; + + home-manager.users.my_username = { + /* The home.stateVersion option does not have a default and must be set */ + home.username = "micqdf"; + home.homeDirectory = "/home/micqdf"; + home.stateVersion = "24.11"; + /* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */ + home.packages = [ pkgs.jdk8 ]; + }; +}