Files
nixos-config/hosts/desktop/default.nix
T
Miguel Palhas 02a7d44b57 remmina
2026-03-26 18:35:35 +00:00

47 lines
1.2 KiB
Nix

{
inputs,
pkgs,
config,
...
}:
{
imports = [
./hardware-configuration.nix
../common/global
../common/features/user.nix
../common/features/networking.nix
../common/features/gpu/nvidia.nix
../common/features/display
../common/features/pipewire.nix
../common/features/docker.nix
../common/features/fonts.nix
../common/features/nix-ld.nix
../common/features/bluetooth.nix
../common/features/ledger.nix
../common/features/android-studio.nix
../common/features/wine.nix
../common/features/appimage.nix
../common/features/home
];
networking.hostName = "konishi";
services.xserver.displayManager.sessionCommands = ''
BOTTOM='HDMI-0'
TOP='DP-0'
RIGHT='DP-2'
# Match Hyprland layout: TOP at 0x0, BOTTOM at 0x2160, RIGHT at 3840x180
${pkgs.xrandr}/bin/xrandr \
--output $TOP --mode 3840x2160 --pos 0x0 --rotate normal \
--output $BOTTOM --primary --mode 3840x2160 --pos 0x2160 --rotate normal \
--output $RIGHT --mode 3840x2160 --pos 3840x180 --rotate left
${pkgs.xrandr}/bin/xrandr --dpi 160
'';
networking.nameservers = [
"100.100.100.100"
"10.1.10.1"
];
}