mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
30 lines
586 B
Nix
30 lines
586 B
Nix
inputs:
|
|
{
|
|
config =
|
|
{
|
|
nixos =
|
|
{
|
|
system =
|
|
{
|
|
fileSystems =
|
|
{
|
|
mount =
|
|
{
|
|
vfat."/dev/disk/by-partlabel/test-boot" = "/boot";
|
|
btrfs."/dev/disk/by-partlabel/test-root1" = { "/nix" = "/nix"; "/nix/rootfs/current" = "/"; };
|
|
};
|
|
rollingRootfs = {};
|
|
};
|
|
nixpkgs.march = "haswell";
|
|
networking = {};
|
|
};
|
|
hardware.cpus = [ "intel" ];
|
|
services =
|
|
{
|
|
sshd = {};
|
|
nginx = { enable = true; applications.example = {}; };
|
|
};
|
|
};
|
|
};
|
|
}
|