dotfiles/nixos/boxes/thinky.nix

25 lines
504 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;
}];
2019-07-07 12:08:00 +01:00
loader.grub = {
device = "/dev/sda";
};
};
2019-07-07 12:08:00 +01:00
time.timeZone = "Europe/Warsaw";
imports = [
/etc/nixos/hardware-configuration.nix
../boot.nix
../common.nix
../gfx-intel.nix
];
}