Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add XPS 13 (9360) #58

Merged
merged 2 commits into from May 15, 2018
Merged

add XPS 13 (9360) #58

merged 2 commits into from May 15, 2018

Conversation

yorickvP
Copy link
Contributor

No description provided.

efi.canTouchEfiVariables = lib.mkDefault true;
};

kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it only work with the latest kernel? (Current LTS kernel is 4.14.x)

Copy link
Contributor Author

@yorickvP yorickvP May 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

everything higher than 4.11 should work without kernel patches, but not all of them work as well as others. 4.14.x should be fine, but I haven't tested that in forever.
Is https://patchwork.kernel.org/patch/9676073/ in 4.14?
edit: yes.

i18n.consoleFont = "latarcyrheb-sun32";

# touchpad
services.xserver.libinput.enable = lib.mkDefault true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# touchpad
services.xserver.libinput.enable = lib.mkDefault true;

networking.wireless.enable = lib.mkDefault true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

services.xserver.libinput.enable = lib.mkDefault true;

networking.wireless.enable = lib.mkDefault true;
hardware.bluetooth.enable = lib.mkDefault true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This module should really be called services.bluez :-)

Bluetooth works without that, say, in GNOME.

# touchpad goes over i2c
blacklistedKernelModules = [ "psmouse" ];

kernelParams = [ "i915.enable_fbc=1" "i915.enable_psr=2" ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be moved to common/cpu/intel/kaby-lake/default.nix.

../../../common/cpu/intel
../../../common/pc/laptop
];
boot.kernelModules = ["kvm-intel"]; # should this be in common/cpu/intel?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The policy up until now was to not include options that are generated by nixos-generate-config.

target = "QCA6174";

src = fetchurl {
url = "https://github.com/kvalo/ath10k-firmware/raw/master/${target}/hw3.0/${branch}/firmware-6.bin_RM.${version}-QCARMSWP-1";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This hash will break if https://github.com/kvalo/ath10k-firmware is updated. It is better to reference a concrete commit.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also we can add this to nixpkgs directly.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, right. Didn't notice that.

Copy link
Member

@lukateras lukateras May 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 6ba1e22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants