Test
This commit is contained in:
parent
eabf9e5070
commit
85c33fb516
2 changed files with 1 additions and 4 deletions
|
@ -1,7 +1,5 @@
|
||||||
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
|
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
# This machine won't be using secureboot
|
|
||||||
# ../../common/modules/boot.nix
|
|
||||||
./disks.nix
|
./disks.nix
|
||||||
];
|
];
|
||||||
nixpkgs.config.allowUnfree = false;
|
nixpkgs.config.allowUnfree = false;
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
{
|
{
|
||||||
boot.loader.grub = {
|
boot.loader.grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
version = 2;
|
|
||||||
device = "/dev/vda";
|
device = "/dev/vda";
|
||||||
enableCryptodisk = true;
|
enableCryptodisk = true;
|
||||||
};
|
};
|
||||||
boot.initrd.luks.devices."vda2".device = "/dev/vda2";
|
boot.initrd.luks.devices."DISK".device = "/dev/vda2";
|
||||||
services.btrfs.autoScrub.enable = true;
|
services.btrfs.autoScrub.enable = true;
|
||||||
services.btrfs.autoScrub.interval = "weekly";
|
services.btrfs.autoScrub.interval = "weekly";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue