bakke: get rid of disko 💀

This commit is contained in:
Felix Albrigtsen 2024-10-20 22:04:11 +02:00
parent 94b8047dee
commit 1630c1c38e
3 changed files with 3 additions and 11 deletions

View File

@ -12,14 +12,8 @@
sops.age.keyFile = "/var/lib/sops-nix/key.txt"; sops.age.keyFile = "/var/lib/sops-nix/key.txt";
sops.age.generateKey = true; sops.age.generateKey = true;
boot.loader = { boot.loader.systemd-boot.enable = true;
efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
grub = {
enable = true;
efiSupport = true;
device = "nodev";
};
};
networking.hostName = "bakke"; networking.hostName = "bakke";
networking.hostId = "99609ffc"; networking.hostId = "99609ffc";

View File

@ -1,5 +1,6 @@
{ {
# https://github.com/nix-community/disko/blob/master/example/boot-raid1.nix # https://github.com/nix-community/disko/blob/master/example/boot-raid1.nix
# Note: Disko was used to create the initial md raid, but is no longer in active use on this host.
disko.devices = { disko.devices = {
disk = { disk = {
one = { one = {

View File

@ -1,9 +1,6 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
# Boot drives: # Boot drives:
imports = [
./disks.nix
];
boot.swraid.enable = true; boot.swraid.enable = true;
# ZFS Data pool: # ZFS Data pool: