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
|
2024-05-07 18:36:24 +03:00
|
|
|
my.laptop.enable = false;
|
|
|
|
my.git.enable = false;
|
2023-08-23 09:38:48 +03:00
|
|
|
my.roles = {
|
2024-05-07 18:36:24 +03:00
|
|
|
design.enable = false;
|
|
|
|
devel.enable = false;
|
|
|
|
gaming.enable = false;
|
|
|
|
graphical.enable = false;
|
2023-10-03 17:15:14 +03:00
|
|
|
graphical.basic.enable = false;
|
2024-05-07 18:36:24 +03:00
|
|
|
latex.enable = false;
|
|
|
|
media-client.enable = false;
|
|
|
|
torrent.enable = false;
|
|
|
|
virtualisation.enable = false;
|
2023-08-23 09:38:48 +03:00
|
|
|
yggdrasil-client.enable = true;
|
2023-09-07 20:19:06 +03:00
|
|
|
|
2024-05-07 18:36:24 +03:00
|
|
|
server = {
|
|
|
|
ivabus-dev.enable = false;
|
|
|
|
slides-ivabus-dev.enable = false;
|
|
|
|
urouter.enable = false;
|
|
|
|
};
|
2023-08-23 09:38:48 +03:00
|
|
|
};
|
2023-10-03 17:15:14 +03:00
|
|
|
my.users = {
|
|
|
|
ivabus.enable = true;
|
2024-05-07 18:36:24 +03:00
|
|
|
ivabus.dotfiles.enable = true;
|
2023-10-03 17:15:14 +03:00
|
|
|
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";
|
|
|
|
}
|
|
|
|
|