2023-08-23 09:38:48 +03:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
2023-09-06 16:10:11 +03:00
|
|
|
let my = import ../..;
|
2023-08-23 09:38:48 +03:00
|
|
|
in {
|
2023-09-06 16:10:11 +03:00
|
|
|
imports = [ ./hardware.nix my.modules ];
|
2023-08-31 18:28:25 +03:00
|
|
|
|
2023-08-23 09:38:48 +03:00
|
|
|
networking.hostName = "celerrime";
|
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = false;
|
|
|
|
# Enable screen space near notch
|
|
|
|
boot.kernelParams = [ "apple_dcp.show_notch=1" ];
|
|
|
|
|
|
|
|
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 = false;
|
|
|
|
graphical.enable = true;
|
|
|
|
latex.enable = true;
|
2023-08-30 15:10:46 +03:00
|
|
|
media-client.enable = true;
|
|
|
|
torrent.enable = true;
|
2023-08-23 09:38:48 +03:00
|
|
|
virtualisation.enable = false;
|
|
|
|
yggdrasil-client.enable = true;
|
2023-09-06 11:20:33 +03:00
|
|
|
|
2023-09-07 20:19:06 +03:00
|
|
|
server = { ivabus-dev.enable = false; };
|
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
|
|
|
# Setup asahi-specific things. NOTE: you must copy firmware from ESP to /etc/nixos/asahi/firmware
|
|
|
|
hardware.asahi.peripheralFirmwareDirectory = ../../asahi/firmware;
|
|
|
|
hardware.asahi.addEdgeKernelConfig = true;
|
|
|
|
hardware.asahi.useExperimentalGPUDriver = true;
|
|
|
|
|
2023-09-06 16:10:11 +03:00
|
|
|
environment.systemPackages = with pkgs;
|
|
|
|
[ (retroarch.override { cores = with libretro; [ np2kai ]; }) ];
|
2023-09-04 21:54:55 +03:00
|
|
|
|
2023-08-23 09:38:48 +03:00
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|