From 44eee99af9551ab52aa09b7ee23c567bccc13b9e Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Thu, 14 Mar 2024 01:21:25 -0700 Subject: Add initial Home Manager configuration --- ginaz/flake.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'ginaz/flake.nix') diff --git a/ginaz/flake.nix b/ginaz/flake.nix index 03a0b27..b60a38a 100644 --- a/ginaz/flake.nix +++ b/ginaz/flake.nix @@ -2,13 +2,22 @@ description = "nipsy's NixOS configuration"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable; + home-manager.url = "github:nix-community/home-manager"; + home-manager.inputs.nixpkgs.follows = "nixpkgs"; }; - outputs = { self, nixpkgs }: { + outputs = inputs@{ nixpkgs, home-manager, ... }: { nixosConfigurations.ginaz = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - modules = [ ./configuration.nix ]; + modules = [ + ./configuration.nix + home-manager.nixosModules.home-manager { + home-manager.useGlobalPkgs = true; + #home-manager.useUserPackages = true; + home-manager.users.nipsy = import ./home.nix; + } + ]; }; }; } -- cgit v1.2.3