From 1f6aab320003d7a0eb833589a2f56e485013ecce Mon Sep 17 00:00:00 2001 From: Matt Nish-Lapidus Date: Sun, 22 Sep 2024 01:15:13 -0400 Subject: [PATCH] initial config --- flake.nix | 22 +++++++++------------- home.nix | 1 - 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/flake.nix b/flake.nix index 167972b..015544f 100644 --- a/flake.nix +++ b/flake.nix @@ -15,20 +15,16 @@ nixosConfigurations = { thegibson = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - modules = [ - ./configuration.nix - - home-manager.nixosModules.home-manager { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - - # TODO replace ryan with your own username - home-manager.users.emenel = import ./home.nix; - - # Optionally, use home-manager.extraSpecialArgs to pass arguments to home.nix - } - ]; + modules = [ ./configuration.nix ]; }; }; + + + homeConfigurations = { + "emenel" = home-manager.lib.homeManagerConfiguration { + pkgs = nixpkgs.legacyPackages.x86_64-linux; + modules = [ ./home.nix ]; + }; + }; }; } diff --git a/home.nix b/home.nix index 692d096..6164d39 100644 --- a/home.nix +++ b/home.nix @@ -10,7 +10,6 @@ fzf bat jq - rg ]; # This needs to actually be set to your username