dotfiles/nixos/boxes/thinky.nix

20 lines
395 B
Nix
Raw Normal View History

2019-04-26 07:58:38 +01:00
{ config, pkgs, ... }:
{
networking.hostName = "thinky";
boot = {
initrd.luks.devices = [
{
name = "root";
2019-04-26 11:30:22 +01:00
device = "/dev/disk/by-uuid/962caed1-9dd5-4771-9a8f-3d3f5854af2e";
2019-04-26 07:58:38 +01:00
preLVM = true;
allowDiscards = true;
}];
loader.grub = {
2019-04-26 11:30:22 +01:00
device = "/dev/sda";
};
2019-04-26 07:58:38 +01:00
};
time.timeZone = "Europe/Warsaw";
imports = [ ../common.nix ];
2019-04-26 11:30:22 +01:00
}