From db6b8c0fb2f42db123c9f9420b0e63442362ae0b Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Mon, 16 Feb 2026 10:57:49 -0600 Subject: [PATCH] desktop profile --- .../{profiles/john.nix => home-manager/user.nix} | 15 +-------------- modules/profiles/desktop.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 14 deletions(-) rename modules/{profiles/john.nix => home-manager/user.nix} (65%) create mode 100644 modules/profiles/desktop.nix 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 + ]; + }; +}