-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
43 lines (40 loc) · 943 Bytes
/
Copy pathflake.nix
File metadata and controls
43 lines (40 loc) · 943 Bytes
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
40
41
42
43
{
description = "A flake for a pretty nice NixOS configuration.";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
dotfiles = {
url = "github:slopesque/dotfiles";
inputs.nixpkgs.follows = "nixpkgs";
};
hypryaml = {
url = "github:slopesque/hypryaml/develop";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
self,
nixpkgs,
home-manager,
...
}@inputs:
let
allInputs = inputs // {
modules = [
home-manager.nixosModules.home-manager
./modules
./overlays
./users
];
};
devSystem = "x86_64-linux";
in
{
formatter.${devSystem} = nixpkgs.legacyPackages.${devSystem}.nixfmt;
nixosConfigurations = import ./configurations allInputs;
};
}