-
Notifications
You must be signed in to change notification settings - Fork 3
/
flake.nix
30 lines (28 loc) · 922 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
{
description = "my computers in flakes";
inputs.nixpkgs.url = "github:nixos/nixpkgs";
outputs =
{ self, nixpkgs }:
{
packages.x86_64-linux.neovim = import ./neovim.nix (import nixpkgs { system = "x86_64-linux"; });
packages.x86_64-darwin.neovim = import ./neovim.nix (import nixpkgs { system = "x86_64-darwin"; });
nixosConfigurations = {
# amd ryzen 5
#shinseikai = nixpkgs.lib.nixosSystem (simplesystem { hostName = "shinseikai"; enableNvidia = true; });
# legacy, yao: T460s
# Lenovo X1 gen9, alderlake
osaka = nixpkgs.lib.nixosSystem (
import ./nixos.nix {
hostName = "osaka";
}
);
# i7-13700K, raptorlake
tsutenkaku = nixpkgs.lib.nixosSystem (
import ./nixos.nix {
hostName = "tsutenkaku";
enableNvidia = true;
}
);
};
};
}