aboutsummaryrefslogtreecommitdiffstats
path: root/ginaz/flake.nix
blob: b60a38a147a8587f39603faf349f9ada2fdf9bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  description = "nipsy's NixOS configuration";

  inputs = {
    nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
    home-manager.url = "github:nix-community/home-manager";
    home-manager.inputs.nixpkgs.follows = "nixpkgs";
  };

  outputs = inputs@{ nixpkgs, home-manager, ... }: {
    nixosConfigurations.ginaz = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        ./configuration.nix
        home-manager.nixosModules.home-manager {
          home-manager.useGlobalPkgs = true;
          #home-manager.useUserPackages = true;
          home-manager.users.nipsy = import ./home.nix;
        }
      ];
    };
  };
}