aboutsummaryrefslogtreecommitdiffstats
path: root/ginaz/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ginaz/flake.nix15
1 files changed, 12 insertions, 3 deletions
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;
+ }
+ ];
};
};
}