2023-08-23 09:38:48 +03:00
|
|
|
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
my = import ../..;
|
|
|
|
in {
|
|
|
|
imports = [
|
|
|
|
./hardware.nix # Use nixos-generate-config --show-hardware-config > /etc/nixos/machines/MACHINE/hardware.nix
|
|
|
|
my.modules
|
|
|
|
];
|
|
|
|
|
|
|
|
# Bootloader configuration
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
networking.hostName = "MACHINE";
|
|
|
|
|
|
|
|
# All "my" options
|
|
|
|
my.laptop.enable = true;
|
|
|
|
my.roles = {
|
|
|
|
design.enable = true;
|
|
|
|
devel.enable = true;
|
|
|
|
gaming.enable = true;
|
|
|
|
graphical.enable = true;
|
|
|
|
latex.enable = true;
|
|
|
|
virtualisation.enable = true;
|
|
|
|
yggdrasil-client.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-08-23 10:36:32 +03:00
|
|
|
networking.useDHCP = true;
|
|
|
|
|
2023-08-23 09:38:48 +03:00
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|
|
|
|
|