46 lines
751 B
Nix
46 lines
751 B
Nix
{ config, lib, pkgs, inputs, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
boot.blacklistedKernelModules = [
|
|
"nouveau"
|
|
];
|
|
|
|
environment.systemPackages = lib.mkAfter (with pkgs; [
|
|
firefox
|
|
kitty
|
|
rofi
|
|
xev
|
|
xkbcomp
|
|
xdg-utils
|
|
|
|
inputs.kutu.packages.${stdenv.hostPlatform.system}.default
|
|
]);
|
|
|
|
services.xserver = {
|
|
enable = true;
|
|
displayManager.startx.enable = true;
|
|
videoDrivers = [ "modesetting" ];
|
|
xkb = {
|
|
layout = "us";
|
|
variant = "";
|
|
options = "terminate:ctrl_alt_bksp";
|
|
};
|
|
};
|
|
|
|
services.dbus.enable = true;
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
extraPortals = [
|
|
pkgs.xdg-desktop-portal-gtk
|
|
];
|
|
};
|
|
|
|
networking.hostName = "tardis";
|
|
}
|