nixos-config/system/gallus/default.nix

94 lines
1.5 KiB
Nix

{
inputs,
pkgs,
lib,
...
}@args:
{
imports = [
../../home
../../sets/base.nix
../../sets/buildMachines.nix
../../sets/nixvim.nix
../../sets/sshd.nix
../../sets/wifi.nix
./boot-config.nix
./hardware-configuration.nix
inputs.jovian.nixosModules.default
];
nix.settings.trusted-users = [ "@wheel" ];
jovian = {
devices.steamdeck = {
enable = true;
autoUpdate = true;
enableGyroDsuService = true;
enableXorgRotation = false;
};
decky-loader = {
enable = true;
package = pkgs.decky-loader-prerelease;
};
steam = {
enable = true;
autoStart = true;
desktopSession = "gnome-xorg";
user = "artemis";
};
};
programs.steam.enable = true;
programs.nix-ld.enable = true;
hardware.bluetooth.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.gnome = {
tracker-miners.enable = false;
tracker.enable = false;
};
services.avahi = {
enable = true;
nssmdns4 = true;
publish = {
enable = true;
addresses = true;
};
};
# Requires a lot of dependencies we don't use
programs.nixvim.plugins.lsp.enable = false;
environment.systemPackages = with pkgs; [
htop
jq
lm_sensors
p7zip
ripgrep
unrar
unzip
wormhole-rs
firefox
gogdl
heroic
legendary-gl
nile
steam-rom-manager
dolphin-emu
duckstation
mgba
ryujinx
xemu
celeste64
];
networking.hostName = "gallus";
system.stateVersion = "23.11";
}