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-04-26 09:04:38 +01:00
|
|
|
loader.grub = {
|
2019-04-26 11:30:22 +01:00
|
|
|
device = "/dev/sda";
|
2019-04-26 09:04:38 +01:00
|
|
|
};
|
2019-04-26 07:58:38 +01:00
|
|
|
};
|
|
|
|
time.timeZone = "Europe/Warsaw";
|
2019-06-30 13:59:03 +01:00
|
|
|
imports = [
|
|
|
|
/etc/nixos/hardware-configuration.nix
|
|
|
|
../boot.nix
|
|
|
|
../common.nix
|
2019-07-06 07:43:37 +01:00
|
|
|
../gfx-intel.nix
|
2019-06-30 13:59:03 +01:00
|
|
|
];
|
2019-04-26 11:30:22 +01:00
|
|
|
}
|