mirror of
https://github.com/oqyude/nixos.git
synced 2026-10-07 20:47:14 +03:00
38 lines
829 B
Nix
38 lines
829 B
Nix
# Host: "rydiwo" (device: secondary)
|
|
#
|
|
# The host record lives in configurations/default.nix; this file is only the
|
|
# module body. `xlib` (identity, dirs, helpers) arrives as a module argument.
|
|
{
|
|
lib,
|
|
pkgs,
|
|
xlib,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
imports = with inputs; [
|
|
nixos-hardware.nixosModules.chuwi-minibook-x
|
|
./hardware/mini-laptop.nix
|
|
self.nixosModules.default
|
|
];
|
|
|
|
boot = {
|
|
kernelPackages = lib.mkDefault pkgs.linuxPackages_xanmod_stable;
|
|
loader = {
|
|
systemd-boot.enable = lib.mkDefault true;
|
|
efi.canTouchEfiVariables = lib.mkDefault true;
|
|
};
|
|
};
|
|
|
|
fileSystems = xlib.helpers.mkNtfsMount {
|
|
path = xlib.dirs.lamet-drive;
|
|
uuid = "DC76BD3576BD116E";
|
|
mask = "0000";
|
|
};
|
|
|
|
host.ssh.enable = true;
|
|
hardware.intel-gpu-tools.enable = true;
|
|
|
|
system.stateVersion = "26.05";
|
|
}
|