From 0fe50f8d748f3778132a2b298c3cef48ff649db3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Fri, 26 Apr 2019 07:58:38 +0100 Subject: [PATCH] Add thinky config --- nixos/boxes/skinnyv.nix | 1 + nixos/boxes/thinky.nix | 16 ++++++++++++++++ nixos/common.nix | 1 - 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 nixos/boxes/thinky.nix diff --git a/nixos/boxes/skinnyv.nix b/nixos/boxes/skinnyv.nix index dcf14300..06a6baad 100644 --- a/nixos/boxes/skinnyv.nix +++ b/nixos/boxes/skinnyv.nix @@ -13,5 +13,6 @@ allowDiscards = true; }]; }; + time.timeZone = "Europe/London"; imports = [ ../common.nix ]; } \ No newline at end of file diff --git a/nixos/boxes/thinky.nix b/nixos/boxes/thinky.nix new file mode 100644 index 00000000..b69b26c0 --- /dev/null +++ b/nixos/boxes/thinky.nix @@ -0,0 +1,16 @@ + +{ config, pkgs, ... }: +{ + networking.hostName = "thinky"; + boot = { + initrd.luks.devices = [ + { + name = "root"; + device = "/dev/disk/by-uuid/------------------------------------"; + preLVM = true; + allowDiscards = true; + }]; + }; + time.timeZone = "Europe/Warsaw"; + imports = [ ../common.nix ]; +} \ No newline at end of file diff --git a/nixos/common.nix b/nixos/common.nix index 63f36aa6..cc0af0d9 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -103,7 +103,6 @@ in security.pam.services.gdm.enableGnomeKeyring = true; - time.timeZone = "Europe/London"; sound.enable = true; hardware.pulseaudio.enable = true;