mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 22:41:52 +03:00
some clean
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{
|
||||
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";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user