2023-08-23 09:38:48 +03:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
my = import ../..;
|
|
|
|
in {
|
|
|
|
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
|
|
|
|
|
|
|
server = {
|
|
|
|
ivabus-dev.enable = 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-04 21:54:55 +03:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
(retroarch.override { cores = with libretro; [ np2kai ];})
|
|
|
|
];
|
|
|
|
|
2023-08-23 09:38:48 +03:00
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|