marleyos/hosts/nyx/default.nix
2025-05-26 17:55:21 -07:00

34 lines
619 B
Nix

{
marleylib,
config,
...
}: let
inherit (marleylib.module) enabled;
inherit (config.marleycfg.my) name;
in {
imports = [./hardware-configuration.nix ./mounts.nix ./autorandr.nix];
networking.hostName = "nyx";
# For local dev.
networking.firewall.allowedTCPPorts = [8080];
marleycfg.profiles.desktop = true;
marleyos = {
hardware = {
nvidia = enabled;
};
};
home-manager.users."${name}" = {
marleyos = {
shell.niri.monitors = ["DP-1" "HDMI-A-1"];
services.syncthing = enabled;
};
home.stateVersion = "24.05";
};
system.stateVersion = "24.05";
}