-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathflake.nix
executable file
·39 lines (35 loc) · 964 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
description = "rapaz ele ta sem zap";
# to sem zap
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nixvim.url = "github:nix-community/nixvim";
};
outputs = inputs@{ nixpkgs, home-manager, nixvim, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in {
nixosConfigurations = {
artemis = nixpkgs.lib.nixosSystem {
inherit system;
modules = [ ./nixos/configuration.nix ];
};
};
homeConfigurations = {
chibilibs = inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules =
[ nixvim.homeManagerModules.nixvim ./users/chibilibs/home.nix ];
extraSpecialArgs = { inherit inputs; };
};
};
};
}