nix-chimera/configuration.nix

95 lines
2.2 KiB
Nix
Raw Normal View History

2024-03-12 01:15:44 -07:00
{ modulesPath, config, lib, pkgs, ... }: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
./disk-config.nix
2024-03-12 23:20:41 -07:00
./deck.nix
2024-03-13 02:38:06 -07:00
./onscreen-keyboard.nix
2024-03-12 01:15:44 -07:00
];
2024-03-17 21:53:10 -07:00
viv.usePatchedVlc = true;
2024-03-12 23:20:41 -07:00
# just kind of a grab bag of stuff
environment.systemPackages = with pkgs; [
tailscale
rustup
2024-03-17 21:53:10 -07:00
moonlight-qt
sunshine
2024-03-12 23:20:41 -07:00
(wrapOBS {
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-backgroundremoval
obs-pipewire-audio-capture
obs-livesplit-one
obs-multi-rtmp
obs-vaapi
obs-gstreamer
input-overlay
obs-3d-effect
obs-composite-blur
obs-gradient-source
2024-03-13 01:32:50 -07:00
obs-vkcapture # Launch games with `obs-gamecapture %command%` to capture.
2024-03-12 23:20:41 -07:00
waveform
];
})
(retroarch.override {
cores = with libretro; [
bsnes
bsnes-mercury-balanced
gambatte
genesis-plus-gx
gpsp
mgba
mupen64plus
parallel-n64
sameboy
snes9x
tgbdual
vba-next
];
})
2024-03-12 23:58:29 -07:00
wl-clipboard # used by waydroid (among other things)
2024-03-12 23:20:41 -07:00
];
2024-03-12 01:15:44 -07:00
2024-03-12 23:20:41 -07:00
boot.supportedFilesystems = [ "ntfs" ]; # i would like to be able towrite to ntfs please
2024-03-12 01:15:44 -07:00
2024-03-12 23:20:41 -07:00
services.tailscale = {
enable = true;
useRoutingFeatures = "client";
extraUpFlags = [
];
2024-03-12 01:15:44 -07:00
};
2024-03-12 23:20:41 -07:00
virtualisation = {
waydroid.enable = true;
2024-03-12 01:15:44 -07:00
};
2024-03-12 23:20:41 -07:00
networking.firewall = {
2024-03-12 01:15:44 -07:00
enable = true;
2024-03-12 23:20:41 -07:00
interfaces = {
tailscale0 = {
allowedTCPPortRanges = []; # [{ from = 1000; to = 2000; }]
allowedUDPPortRanges = []; # [{ from = 1000; to = 2000; }]
};
};
2024-03-12 01:15:44 -07:00
};
2024-03-12 23:20:41 -07:00
2024-03-12 01:15:44 -07:00
boot.loader.grub = {
# no need to set devices, disko will add all devices that have a EF02 partition to the list already
# devices = [ ];
efiSupport = true;
efiInstallAsRemovable = true;
};
services.openssh.enable = true;
networking.networkmanager.enable = true;
system.stateVersion = "23.11";
2024-03-12 23:20:41 -07:00
# unfree as in unfreedom
2024-03-12 01:15:44 -07:00
nixpkgs.config.allowUnfree = true;
# these were set in base.
# session is specified in jovian.steam.desktopSession instead.
services.xserver.displayManager.defaultSession = lib.mkForce null;
services.xserver.displayManager.sddm.enable = lib.mkForce false;
}