diff --git a/modules/profiles/john.nix b/modules/home-manager/user.nix similarity index 65% rename from modules/profiles/john.nix rename to modules/home-manager/user.nix index 2fb7dfe..ed270c2 100644 --- a/modules/profiles/john.nix +++ b/modules/home-manager/user.nix @@ -12,7 +12,7 @@ in programs.git.settings.user.email = "32917998+jsl12@users.noreply.github.com"; }; - flake.modules.nixos."${userName}" = + flake.modules.nixos.user = { pkgs, ... }: { users.users."${userName}" = { @@ -27,17 +27,4 @@ in ]; }; }; - - flake.homeConfigurations.${userName} = inputs.home-manager.lib.homeManagerConfiguration { - pkgs = import inputs.nixpkgs { system = "x86_64-linux"; }; - modules = with inputs.self.homeModules; [ - john - ssh - git - rebuild - ghostty - sops - zsh - ]; - }; } diff --git a/modules/profiles/desktop.nix b/modules/profiles/desktop.nix new file mode 100644 index 0000000..766a861 --- /dev/null +++ b/modules/profiles/desktop.nix @@ -0,0 +1,15 @@ +{ inputs, self, ... }: +{ + flake.homeConfigurations.desktop = inputs.home-manager.lib.homeManagerConfiguration { + pkgs = import inputs.nixpkgs { system = "x86_64-linux"; }; + modules = with inputs.self.homeModules; [ + john + ssh + git + rebuild + ghostty + sops + zsh + ]; + }; +}