# # Specific system configuration settings for desktop # # flake.nix # ├─ ./hosts # │ └─ ./vm # │ ├─ default.nix * # │ └─ hardware-configuration.nix # └─ ./modules # └─ ./desktop # └─ ./bspwm # └─ bspwm.nix # { config, pkgs, lib, ... }: let mkSure = lib.mkOverride 0; in { imports = [ # For now, if applying to other system, swap files ./hardware-configuration.nix # Current system hardware config @ /etc/nixos/hardware-configuration.nix ../../modules/desktop/gnome/default.nix # Window Manager ../../modules/desktop/dm/sddm.nix # Desktop Manager ]; services.spice-vdagentd.enable = mkSure true; services.qemuGuest.enable = true; environment.systemPackages = with pkgs; [ spice-vdagent pkgs.xorg.xf86videoqxl ]; boot = { # Boot options kernelPackages = pkgs.linuxPackages_latest; loader = { # For legacy boot grub = { enable = true; device = "/dev/vda"; # Name of hard drive (can also be vda) }; timeout = 1; # Grub auto select timeout }; }; services = { xserver = { resolutions = [ { x = 1920; y = 1080; } { x = 1920; y = 1080; } ]; }; }; }