-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
42 lines (39 loc) · 1022 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
{
description = "ich lieb dich nix du liebst mich nix, da da da";
inputs = {
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
};
outputs = flakeInputs @ {
nixpkgs,
home-manager,
nixos-hardware,
...
}: let
system = "x86_64-linux";
mkConfig = {modules}:
nixpkgs.lib.nixosSystem {
specialArgs = {inherit flakeInputs;};
inherit system modules;
};
in {
nixosConfigurations = {
framework-13 = mkConfig {
modules = [
./modules/base.nix
./modules/workstation.nix
./modules/bluetooth.nix
./modules/laptop.nix
./modules/docker.nix
./modules/tailscale.nix
./machines/framework-13
nixos-hardware.nixosModules.framework-12th-gen-intel
];
};
};
};
}