mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 20:50:47 +03:00
36 lines
541 B
Nix
36 lines
541 B
Nix
{
|
|
inputs,
|
|
...
|
|
}@flakeContext:
|
|
let
|
|
nixosModule =
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
xlib.device = {
|
|
type = "primary";
|
|
hostname = "lamet";
|
|
};
|
|
|
|
imports = [
|
|
inputs.nixos-hardware.nixosModules.chuwi-minibook-x
|
|
];
|
|
|
|
hardware.intel-gpu-tools.enable = true;
|
|
};
|
|
in
|
|
inputs.nixpkgs.lib.nixosSystem {
|
|
modules = with inputs; [
|
|
nixosModule
|
|
self.nixosModules.default
|
|
];
|
|
system = "x86_64-linux";
|
|
specialArgs = {
|
|
deviceType = "primary";
|
|
};
|
|
}
|