mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 22:12:56 +00:00
32 lines
657 B
Nix
32 lines
657 B
Nix
# The Arrow
|
|
# System configuration for temporary VM
|
|
|
|
{
|
|
inputs,
|
|
globals,
|
|
overlays,
|
|
...
|
|
}:
|
|
|
|
inputs.nixpkgs.lib.nixosSystem rec {
|
|
system = "x86_64-linux";
|
|
specialArgs = {
|
|
pkgs-caddy = import inputs.nixpkgs-caddy { inherit system; };
|
|
};
|
|
modules = import ./modules.nix { inherit inputs globals overlays; } ++ [
|
|
{
|
|
# This is the root filesystem containing NixOS
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-label/nixos";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
# This is the boot filesystem for Grub
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-label/boot";
|
|
fsType = "vfat";
|
|
};
|
|
}
|
|
];
|
|
}
|