mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 06:30:10 +03:00
Init
This commit is contained in:
Executable
+31
@@ -0,0 +1,31 @@
|
||||
{
|
||||
inputs,
|
||||
...
|
||||
}@flakeContext:
|
||||
let
|
||||
nixosModule =
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
system.nixos.label = "stock";
|
||||
|
||||
imports = with inputs; [
|
||||
self.nixosModules.default
|
||||
|
||||
nixos-hardware.nixosModules.chuwi-minibook-x
|
||||
home-manager.nixosModules.home-manager # home-manager module
|
||||
self.homeConfigurations.oqyude.nixosModule # home-manager configuration module
|
||||
];
|
||||
hardware.intel-gpu-tools.enable = true;
|
||||
};
|
||||
in
|
||||
inputs.nixpkgs.lib.nixosSystem {
|
||||
modules = with inputs; [
|
||||
nixosModule
|
||||
];
|
||||
system = "x86_64-linux";
|
||||
}
|
||||
Reference in New Issue
Block a user