2023-08-23 09:38:48 +03:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
2023-09-06 16:10:11 +03:00
|
|
|
let my = import ../..;
|
2023-08-23 09:38:48 +03:00
|
|
|
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;
|
2023-09-01 07:13:07 +03:00
|
|
|
my.git.enable = true;
|
2023-08-23 09:38:48 +03:00
|
|
|
my.roles = {
|
|
|
|
design.enable = true;
|
|
|
|
devel.enable = true;
|
|
|
|
gaming.enable = true;
|
|
|
|
graphical.enable = true;
|
2023-10-03 17:15:14 +03:00
|
|
|
graphical.basic.enable = false;
|
2023-08-23 09:38:48 +03:00
|
|
|
latex.enable = true;
|
2023-08-27 19:26:12 +03:00
|
|
|
media-client.enable = true;
|
|
|
|
torrent.enable = true;
|
2023-08-23 09:38:48 +03:00
|
|
|
virtualisation.enable = true;
|
|
|
|
yggdrasil-client.enable = true;
|
2023-09-07 20:19:06 +03:00
|
|
|
|
|
|
|
server = { ivabus-dev.enable = true; };
|
2023-08-23 09:38:48 +03:00
|
|
|
};
|
2023-10-03 17:15:14 +03:00
|
|
|
my.users = {
|
|
|
|
ivabus.enable = true;
|
|
|
|
user.enable = false;
|
|
|
|
};
|
|
|
|
my.features.secrets = true;
|
2023-08-23 09:38:48 +03:00
|
|
|
|
2023-08-23 10:36:32 +03:00
|
|
|
networking.useDHCP = true;
|
|
|
|
|
2023-08-23 09:38:48 +03:00
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|
|
|
|
|