31 lines
667 B
Nix
31 lines
667 B
Nix
{
|
|
imports = [
|
|
../common/global
|
|
../common/users/adrielus.nix
|
|
../common/optional/slambda.nix
|
|
|
|
./services/syncthing.nix
|
|
./hardware-configuration.nix
|
|
./filesystems.nix
|
|
./zfs.nix
|
|
|
|
(import ./partitions.nix {
|
|
disks = [ "/dev/sda" ];
|
|
})
|
|
];
|
|
|
|
# Machine ids
|
|
networking.hostName = "lapetus";
|
|
networking.hostId = "08357db3";
|
|
environment.etc.machine-id.text = "d9571439c8a34e34b89727b73bad3587";
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
system.stateVersion = "23.05";
|
|
|
|
# Bootloader
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
# Do not suspend on lid closing
|
|
services.logind.lidSwitch = "ignore";
|
|
}
|