-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathflake.nix
30 lines (28 loc) · 830 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
let
combinedManager = import (builtins.fetchTarball {
url = "https://github.com/flafydev/combined-manager/archive/72e48d8eb0580c1c81ade98bdba3d0bb30d9fcfd.tar.gz";
sha256 = "sha256:1xns8yfy7hwdjqdvaj2kqrwykmy61jhdfs8rn2dqm6pq35bgf3ah";
});
in {
description = "NixOS configuration";
inputs = combinedManager.evaluateInputs {
lockFile = ./flake.lock;
modules = [./configuration.nix];
initialInputs = {
nixpkgs.url = "github:nixos/nixpkgs";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
};
outputs = inputs: {
nixosConfigurations = {
default = combinedManager.nixosSystem {
system = "x86_64-linux";
inherit inputs;
modules = [./configuration.nix];
};
};
};
}