1
Fork 0

One more tiny change

This commit is contained in:
Matei Adriel 2023-07-17 19:23:00 +02:00
parent 9075130cc8
commit b556e0ad88
No known key found for this signature in database

View file

@ -1,18 +1,21 @@
{ config, ... }: { { config, ... }:
let
device = "/dev/sda";
in
{
imports = [ imports = [
../common/global ../common/global
../common/users/adrielus.nix ../common/users/adrielus.nix
../common/optional/slambda.nix ../common/optional/slambda.nix
./hardware-configuration.nix ./hardware-configuration.nix
./boot.nix
]; ];
# Set the name of this machine! # Set the name of this machine!
networking.hostName = "lapetus"; networking.hostName = "lapetus";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "22.11"; system.stateVersion = "23.05";
# Configure ZFS # Configure ZFS
boot.supportedFilesystems = [ "zfs" ]; boot.supportedFilesystems = [ "zfs" ];
@ -29,13 +32,13 @@
# ''; # '';
disko.devices = import ./partitions.nix { disko.devices = import ./partitions.nix {
devices = [ "/dev/sda" ]; devices = [ device ];
}; };
# Boot # Boot
boot.loader.grub = { boot.loader.grub = {
inherit device;
enable = true; enable = true;
version = 2; version = 2;
device = "/dev/sda";
}; };
} }