-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
42 lines (36 loc) · 856 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
40
41
42
{
inputs = {
nixpkgs = {
url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
nixos-wsl = {
url = "github:nix-community/NixOS-WSL/main";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
};
lib = import ./lib {
inherit nixpkgs self;
};
in
{
nixosConfigurations = lib.nixos.mkSystems {
"AIVD-Mainframe-WSL" = {
system = "x86_64-linux";
derivedFromHost = "WSL";
users = [ "paperdev" ];
stateVersion = "24.11";
};
};
formatter."${system}" = pkgs.nixpkgs-fmt;
};
}