dotfiles/nixos/boxes/thinky/thinky.nix

25 lines
551 B
Nix
Raw Normal View History

2019-04-26 07:58:38 +01:00
{ config, pkgs, ... }:
{
networking.hostName = "thinky";
boot = {
2020-01-19 21:58:32 +00:00
kernelPackages = pkgs.linuxPackages_latest_hardened;
2021-09-11 21:49:03 +01:00
initrd.luks.devices."crypt"=
2019-04-26 07:58:38 +01:00
{
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;
2021-09-11 21:49:03 +01:00
};
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
2021-09-11 21:49:03 +01:00
../../boot.nix
../../common.nix
../../gfx-intel.nix
2019-07-07 12:08:00 +01:00
];
}