mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
41 lines
656 B
Nix
Executable File
41 lines
656 B
Nix
Executable File
{
|
|
inputs,
|
|
...
|
|
}@flakeContext:
|
|
let
|
|
nixosModule =
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
xlib.device = {
|
|
type = "primary";
|
|
hostname = "lamet";
|
|
};
|
|
|
|
imports = with inputs; [
|
|
self.homeConfigurations.default.nixosModule
|
|
self.nixosModules.default
|
|
|
|
nixos-hardware.nixosModules.chuwi-minibook-x
|
|
];
|
|
|
|
home-manager = {
|
|
extraSpecialArgs = {
|
|
xlib = config.xlib;
|
|
};
|
|
};
|
|
|
|
hardware.intel-gpu-tools.enable = true;
|
|
};
|
|
in
|
|
inputs.nixpkgs.lib.nixosSystem {
|
|
modules = with inputs; [
|
|
nixosModule
|
|
];
|
|
system = "x86_64-linux";
|
|
}
|